Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / CachingHintValidation.cs / 1305600 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- QilXmlReader.cs
- ImageList.cs
- keycontainerpermission.cs
- InputDevice.cs
- SchemaImporterExtension.cs
- HtmlInputImage.cs
- BamlMapTable.cs
- InkCanvas.cs
- EntityDataSourceDesigner.cs
- DataGridItemCollection.cs
- WebPartEditorApplyVerb.cs
- KeyGesture.cs
- BitmapEffectGeneralTransform.cs
- MessagePropertyDescriptionCollection.cs
- HeaderLabel.cs
- DataGridRow.cs
- ListChangedEventArgs.cs
- CLRBindingWorker.cs
- HttpCapabilitiesSectionHandler.cs
- MemoryPressure.cs
- ConfigurationStrings.cs
- TempFiles.cs
- ping.cs
- BooleanProjectedSlot.cs
- WebSysDefaultValueAttribute.cs
- EntityDesignerUtils.cs
- HitTestParameters3D.cs
- HttpChannelHelper.cs
- SiteMap.cs
- SqlTypesSchemaImporter.cs
- BrowserDefinitionCollection.cs
- Privilege.cs
- CodeDomSerializerBase.cs
- XmlSchemaInclude.cs
- MediaContext.cs
- SqlTypesSchemaImporter.cs
- VectorConverter.cs
- MessageDecoder.cs
- EntityConnectionStringBuilderItem.cs
- RawUIStateInputReport.cs
- XsdCachingReader.cs
- ValidationErrorCollection.cs
- XmlSchemaSimpleTypeRestriction.cs
- ImageFormatConverter.cs
- SmiEventSink_DeferedProcessing.cs
- InputScope.cs
- PathFigureCollection.cs
- UnauthorizedWebPart.cs
- PenLineCapValidation.cs
- RemoteWebConfigurationHostStream.cs
- QilTargetType.cs
- TraceLevelStore.cs
- XmlSchemaValidationException.cs
- RTLAwareMessageBox.cs
- MexServiceChannelBuilder.cs
- WebPartVerb.cs
- SqlDataReader.cs
- Triangle.cs
- PropertyNames.cs
- ActiveDocumentEvent.cs
- AuthenticationModulesSection.cs
- DataGridViewDataErrorEventArgs.cs
- PageEventArgs.cs
- CachingHintValidation.cs
- ConfigurationPermission.cs
- FixUpCollection.cs
- EnumBuilder.cs
- DependencyPropertyKey.cs
- RenderData.cs
- WS2007FederationHttpBindingElement.cs
- ApplicationSettingsBase.cs
- StringUtil.cs
- TrueReadOnlyCollection.cs
- CmsUtils.cs
- TypeBuilder.cs
- httpserverutility.cs
- XPathNavigator.cs
- LZCodec.cs
- DocumentScope.cs
- StorageConditionPropertyMapping.cs
- WebBrowserProgressChangedEventHandler.cs
- MasterPageBuildProvider.cs
- BinaryFormatterWriter.cs
- DesignerActionUI.cs
- SqlTypeConverter.cs
- DbConnectionPoolIdentity.cs
- ChameleonKey.cs
- Animatable.cs
- EventLogPermissionEntry.cs
- bindurihelper.cs
- TemplateBamlRecordReader.cs
- TransformerInfo.cs
- TypeUtil.cs
- DataRow.cs
- Stack.cs
- MatrixAnimationBase.cs
- ListViewItem.cs
- InputBinder.cs
- ViewStateException.cs
- SqlSupersetValidator.cs