Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Shared / MS / Internal / Generated / CachingHintValidation.cs / 1 / CachingHintValidation.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Runtime.InteropServices; using MS.Internal.PresentationCore; #if PRESENTATION_CORE using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; #else using SR=System.Windows.SR; using SRID=System.Windows.SRID; #endif namespace System.Windows.Media { internal static partial class ValidateEnums { ////// Returns whether or not an enumeration instance a valid value. /// This method is designed to be used with ValidateValueCallback, and thus /// matches it's prototype. /// /// /// Enumeration value to validate. /// ///'true' if the enumeration contains a valid value, 'false' otherwise. public static bool IsCachingHintValid(object valueObject) { CachingHint value = (CachingHint) valueObject; return (value == CachingHint.Unspecified) || (value == CachingHint.Cache); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Runtime.InteropServices; using MS.Internal.PresentationCore; #if PRESENTATION_CORE using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; #else using SR=System.Windows.SR; using SRID=System.Windows.SRID; #endif namespace System.Windows.Media { internal static partial class ValidateEnums { ////// Returns whether or not an enumeration instance a valid value. /// This method is designed to be used with ValidateValueCallback, and thus /// matches it's prototype. /// /// /// Enumeration value to validate. /// ///'true' if the enumeration contains a valid value, 'false' otherwise. public static bool IsCachingHintValid(object valueObject) { CachingHint value = (CachingHint) valueObject; return (value == CachingHint.Unspecified) || (value == CachingHint.Cache); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlProviderServices.cs
- GridViewDesigner.cs
- safex509handles.cs
- AddInPipelineAttributes.cs
- IdleTimeoutMonitor.cs
- _CommandStream.cs
- ToolBarButtonDesigner.cs
- TextCompositionManager.cs
- CodeDirectoryCompiler.cs
- TraceSwitch.cs
- ZipPackagePart.cs
- SqlConnectionPoolGroupProviderInfo.cs
- IIS7WorkerRequest.cs
- UserControlBuildProvider.cs
- IpcManager.cs
- HttpBufferlessInputStream.cs
- Native.cs
- TcpConnectionPoolSettingsElement.cs
- BuildProvidersCompiler.cs
- _BufferOffsetSize.cs
- Label.cs
- TabRenderer.cs
- HtmlInputPassword.cs
- AssertSection.cs
- HttpDebugHandler.cs
- GrammarBuilderWildcard.cs
- HyperLink.cs
- EncoderFallback.cs
- ComponentDispatcherThread.cs
- EncoderFallback.cs
- MailSettingsSection.cs
- ValidationEventArgs.cs
- PrintDialog.cs
- ColumnReorderedEventArgs.cs
- ResourceManagerWrapper.cs
- SoapClientMessage.cs
- XmlCompatibilityReader.cs
- WebSysDefaultValueAttribute.cs
- WebHttpDispatchOperationSelectorData.cs
- WebPartExportVerb.cs
- PersonalizationStateInfo.cs
- UserControl.cs
- IProvider.cs
- SolidColorBrush.cs
- QilGeneratorEnv.cs
- Page.cs
- LabelEditEvent.cs
- ScrollChrome.cs
- XmlNamespaceMappingCollection.cs
- TableLayoutSettings.cs
- Rotation3D.cs
- TransformedBitmap.cs
- CodeTypeMemberCollection.cs
- BinaryConverter.cs
- LinqDataSourceDisposeEventArgs.cs
- EdmItemCollection.cs
- UshortList2.cs
- CompilerCollection.cs
- SelectionManager.cs
- Evidence.cs
- Scalars.cs
- AnimationClockResource.cs
- StoreItemCollection.Loader.cs
- CrossContextChannel.cs
- GetPageCompletedEventArgs.cs
- FixedSOMLineRanges.cs
- ClientSettings.cs
- ListViewInsertedEventArgs.cs
- ParenExpr.cs
- CodeTypeReference.cs
- Executor.cs
- InstanceView.cs
- BaseTemplateParser.cs
- CodeParameterDeclarationExpression.cs
- ProbeMatches11.cs
- NullableLongSumAggregationOperator.cs
- Frame.cs
- DefaultValueMapping.cs
- CheckBoxPopupAdapter.cs
- oledbmetadatacollectionnames.cs
- TransformerInfo.cs
- XmlElement.cs
- PropertyOrder.cs
- TypeRefElement.cs
- BufferedStream.cs
- EntityTypeBase.cs
- HtmlTableRow.cs
- MetadataItemEmitter.cs
- FormViewAutoFormat.cs
- SqlFunctionAttribute.cs
- ClientConfigPaths.cs
- DBConnectionString.cs
- ProcessInfo.cs
- Helper.cs
- CompareValidator.cs
- AspProxy.cs
- FrugalMap.cs
- SystemFonts.cs
- XmlSerializableReader.cs
- Menu.cs