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
- ScriptReference.cs
- Vector3DKeyFrameCollection.cs
- XmlIncludeAttribute.cs
- RadialGradientBrush.cs
- PartialCachingControl.cs
- XmlC14NWriter.cs
- HWStack.cs
- IDictionary.cs
- DateTimeConstantAttribute.cs
- DateRangeEvent.cs
- TextTreeExtractElementUndoUnit.cs
- ServiceDesigner.xaml.cs
- Stack.cs
- SpellerStatusTable.cs
- XmlSchemaAttribute.cs
- PagerSettings.cs
- ControlUtil.cs
- TrackingMemoryStream.cs
- ISFClipboardData.cs
- SchemaImporterExtensionElement.cs
- XmlSubtreeReader.cs
- ICspAsymmetricAlgorithm.cs
- StringConcat.cs
- MsmqIntegrationMessagePool.cs
- MediaContext.cs
- RayMeshGeometry3DHitTestResult.cs
- XmlSchemaSimpleTypeList.cs
- ArrayListCollectionBase.cs
- XPathSelectionIterator.cs
- RequiredFieldValidator.cs
- RegexCapture.cs
- XmlEntityReference.cs
- SchemaAttDef.cs
- RangeBase.cs
- DataService.cs
- SHA384Cng.cs
- PeerTransportSecuritySettings.cs
- Run.cs
- RequiredFieldValidator.cs
- MatchSingleFxEngineOpcode.cs
- VectorCollectionConverter.cs
- Repeater.cs
- FixedSOMContainer.cs
- BooleanConverter.cs
- EncodingNLS.cs
- CustomCategoryAttribute.cs
- NavigationProgressEventArgs.cs
- PersonalizationStateInfoCollection.cs
- EntityDataSourceChangedEventArgs.cs
- ForceCopyBuildProvider.cs
- ArrayItemReference.cs
- DefaultPerformanceCounters.cs
- ToolStripItemTextRenderEventArgs.cs
- DateTimeOffsetStorage.cs
- ChtmlTextWriter.cs
- WebResourceAttribute.cs
- BrowserTree.cs
- IndividualDeviceConfig.cs
- HtmlElementCollection.cs
- LinkUtilities.cs
- ToolZoneDesigner.cs
- AsyncPostBackErrorEventArgs.cs
- ComponentSerializationService.cs
- ServicePointManagerElement.cs
- WebPartVerb.cs
- LinearGradientBrush.cs
- MemberAccessException.cs
- TcpAppDomainProtocolHandler.cs
- OperatingSystem.cs
- LockedActivityGlyph.cs
- ManagementOptions.cs
- AccessDataSourceView.cs
- Adorner.cs
- ListViewPagedDataSource.cs
- IpcServerChannel.cs
- MeasurementDCInfo.cs
- ImageButton.cs
- WebPartEditorOkVerb.cs
- EditorZoneBase.cs
- ByteStack.cs
- TableLayoutColumnStyleCollection.cs
- CustomAttributeBuilder.cs
- X509SecurityToken.cs
- GACIdentityPermission.cs
- PipeStream.cs
- HostExecutionContextManager.cs
- ActiveXHost.cs
- ExpressionCopier.cs
- httpserverutility.cs
- ScriptResourceInfo.cs
- CompositeFontFamily.cs
- DocumentScope.cs
- CrossContextChannel.cs
- ColumnPropertiesGroup.cs
- XmlElementAttributes.cs
- AppearanceEditorPart.cs
- xamlnodes.cs
- ExchangeUtilities.cs
- CaseInsensitiveComparer.cs
- ColorIndependentAnimationStorage.cs