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
- CodeTypeOfExpression.cs
- ListViewInsertEventArgs.cs
- XmlElementAttribute.cs
- SqlBuilder.cs
- NativeMethods.cs
- TrackBarRenderer.cs
- NameValueSectionHandler.cs
- RequestCachePolicy.cs
- DesignerCategoryAttribute.cs
- HMACSHA512.cs
- ObjectHelper.cs
- EnumerableCollectionView.cs
- RoleManagerSection.cs
- ResXResourceSet.cs
- QuaternionValueSerializer.cs
- ServiceNameElement.cs
- JsonGlobals.cs
- ViewKeyConstraint.cs
- DrawingContextDrawingContextWalker.cs
- PageVisual.cs
- CustomAttributeFormatException.cs
- DynamicQueryableWrapper.cs
- _SpnDictionary.cs
- Metafile.cs
- ViewValidator.cs
- SynchronizationContext.cs
- HttpContext.cs
- RadioButtonList.cs
- ResourceDisplayNameAttribute.cs
- RequestCacheValidator.cs
- TextRunProperties.cs
- OLEDB_Enum.cs
- CompositionTarget.cs
- SchemaInfo.cs
- DispatcherOperation.cs
- Tokenizer.cs
- KnownBoxes.cs
- SpellerStatusTable.cs
- SharedUtils.cs
- httpapplicationstate.cs
- XsltLoader.cs
- DataGridCell.cs
- CmsInterop.cs
- Directory.cs
- WsatAdminException.cs
- Decimal.cs
- EntityClassGenerator.cs
- TextSimpleMarkerProperties.cs
- EtwTrace.cs
- MessageQueueCriteria.cs
- DeclaredTypeElementCollection.cs
- ArcSegment.cs
- InvalidWMPVersionException.cs
- EventDrivenDesigner.cs
- Condition.cs
- XPathSingletonIterator.cs
- BitConverter.cs
- DataRecordInternal.cs
- uribuilder.cs
- EntityDataReader.cs
- NetworkInformationException.cs
- XmlSchemaExporter.cs
- CompositeFontInfo.cs
- StrokeNodeOperations.cs
- TransactionProtocol.cs
- TextTreeUndo.cs
- RetrieveVirtualItemEventArgs.cs
- PolicyValidator.cs
- ValueHandle.cs
- WebHeaderCollection.cs
- TypeUtil.cs
- XamlToRtfWriter.cs
- MarkedHighlightComponent.cs
- RelAssertionDirectKeyIdentifierClause.cs
- CompModSwitches.cs
- DynamicValidatorEventArgs.cs
- SqlCommandSet.cs
- Vector3DAnimation.cs
- ByteAnimationBase.cs
- SubMenuStyleCollection.cs
- AnimationLayer.cs
- ScrollChrome.cs
- WSIdentityFaultException.cs
- FocusChangedEventArgs.cs
- AppDomainShutdownMonitor.cs
- EndCreateSecurityTokenRequest.cs
- ToolboxService.cs
- RadioButton.cs
- DecoderNLS.cs
- PropertyFilterAttribute.cs
- XmlStringTable.cs
- AsymmetricAlgorithm.cs
- SoapObjectInfo.cs
- ButtonPopupAdapter.cs
- ToolboxDataAttribute.cs
- SamlAuthenticationClaimResource.cs
- MetaDataInfo.cs
- LazyTextWriterCreator.cs
- NativeActivityTransactionContext.cs
- FixedSOMTable.cs