Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / 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 [....]/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
- StateFinalizationDesigner.cs
- QueryOperationResponseOfT.cs
- TypeNameParser.cs
- DataMemberAttribute.cs
- ToolboxItem.cs
- XPathDocumentIterator.cs
- BindingWorker.cs
- TrackingLocationCollection.cs
- AdornedElementPlaceholder.cs
- altserialization.cs
- ReaderOutput.cs
- UnsafeNativeMethodsTablet.cs
- ArraySegment.cs
- SchemaCollectionCompiler.cs
- WebPartUserCapability.cs
- DataViewSetting.cs
- PaperSource.cs
- RouteValueExpressionBuilder.cs
- WebPartConnectionsCloseVerb.cs
- Token.cs
- Match.cs
- DropShadowEffect.cs
- EventProviderClassic.cs
- OperationContractGenerationContext.cs
- CodeLinePragma.cs
- TemplateParser.cs
- ObjectStorage.cs
- SystemUnicastIPAddressInformation.cs
- Unit.cs
- AutomationElementIdentifiers.cs
- ConsoleEntryPoint.cs
- DbConnectionHelper.cs
- ServiceCredentials.cs
- XmlDownloadManager.cs
- EntityDataSourceUtil.cs
- UmAlQuraCalendar.cs
- NativeMethods.cs
- XmlExceptionHelper.cs
- SiteMapNodeItem.cs
- ReaderWriterLockWrapper.cs
- XmlReflectionMember.cs
- storepermissionattribute.cs
- unsafeIndexingFilterStream.cs
- DateRangeEvent.cs
- HttpConfigurationSystem.cs
- DependsOnAttribute.cs
- ReaderOutput.cs
- GridViewAutomationPeer.cs
- ToolboxControl.cs
- Label.cs
- IgnoreSectionHandler.cs
- JsonDataContract.cs
- ApplicationServiceManager.cs
- NameScopePropertyAttribute.cs
- ClientSettingsStore.cs
- BadImageFormatException.cs
- OdbcInfoMessageEvent.cs
- XmlUTF8TextReader.cs
- SearchForVirtualItemEventArgs.cs
- ComponentEditorForm.cs
- Image.cs
- ListViewItemSelectionChangedEvent.cs
- IdnMapping.cs
- NameTable.cs
- CacheChildrenQuery.cs
- HtmlMeta.cs
- EntitySqlException.cs
- BufferModeSettings.cs
- TextSelection.cs
- DependentList.cs
- SystemKeyConverter.cs
- FlowDocumentView.cs
- ManipulationInertiaStartingEventArgs.cs
- ListView.cs
- Switch.cs
- AccessibilityHelperForXpWin2k3.cs
- XmlTextAttribute.cs
- TextBox.cs
- PropertyEmitter.cs
- WebBrowserDocumentCompletedEventHandler.cs
- HwndSubclass.cs
- ButtonPopupAdapter.cs
- KeyValueInternalCollection.cs
- StyleModeStack.cs
- MenuItemCollection.cs
- XmlSchemaDocumentation.cs
- SafeSystemMetrics.cs
- ListViewHitTestInfo.cs
- SessionPageStateSection.cs
- DBSqlParserColumn.cs
- XmlSchemaRedefine.cs
- BitmapEncoder.cs
- SubpageParagraph.cs
- Padding.cs
- XmlObjectSerializer.cs
- GregorianCalendar.cs
- MarshalDirectiveException.cs
- path.cs
- PartEditor.cs
- OracleEncoding.cs