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
- followingquery.cs
- PseudoWebRequest.cs
- OleDbConnectionInternal.cs
- SynchronizationLockException.cs
- SmtpReplyReader.cs
- PersistenceProviderFactory.cs
- XmlDownloadManager.cs
- Pen.cs
- unitconverter.cs
- BaseDataListActionList.cs
- MobileFormsAuthentication.cs
- XmlNodeWriter.cs
- PermissionSetEnumerator.cs
- Int32Rect.cs
- OutputCacheProfileCollection.cs
- ProtocolViolationException.cs
- JsonServiceDocumentSerializer.cs
- TreeNodeStyle.cs
- FigureHelper.cs
- StrokeDescriptor.cs
- MatrixTransform.cs
- BitmapEffectInputData.cs
- RolePrincipal.cs
- Model3DGroup.cs
- FilterQuery.cs
- TypeSystem.cs
- AssemblyCache.cs
- SrgsSemanticInterpretationTag.cs
- TickBar.cs
- GeneralTransform3DTo2DTo3D.cs
- FlowLayoutSettings.cs
- MinMaxParagraphWidth.cs
- DataGridViewCellStateChangedEventArgs.cs
- CodeArgumentReferenceExpression.cs
- ArraySubsetEnumerator.cs
- FtpRequestCacheValidator.cs
- EngineSiteSapi.cs
- InstancePersistenceCommandException.cs
- QualifiedId.cs
- ReachFixedDocumentSerializerAsync.cs
- TextTrailingCharacterEllipsis.cs
- NumberFormatInfo.cs
- SystemUdpStatistics.cs
- TripleDESCryptoServiceProvider.cs
- ZoomingMessageFilter.cs
- ImageIndexConverter.cs
- Trace.cs
- ExportException.cs
- Triplet.cs
- BuildManagerHost.cs
- MatrixAnimationBase.cs
- HMACSHA1.cs
- mediaeventargs.cs
- IdentifierService.cs
- ColumnMapVisitor.cs
- XamlGridLengthSerializer.cs
- MexNamedPipeBindingCollectionElement.cs
- AlignmentYValidation.cs
- NativeDirectoryServicesQueryAPIs.cs
- StreamUpgradeBindingElement.cs
- PermissionSet.cs
- NamespaceInfo.cs
- WebBrowserProgressChangedEventHandler.cs
- COMException.cs
- MobileCategoryAttribute.cs
- PermissionRequestEvidence.cs
- GenericEnumConverter.cs
- MutableAssemblyCacheEntry.cs
- SqlExpander.cs
- ViewStateChangedEventArgs.cs
- FormViewRow.cs
- TransportContext.cs
- ValueChangedEventManager.cs
- DecimalAnimationUsingKeyFrames.cs
- VirtualDirectoryMapping.cs
- ReflectionHelper.cs
- ExpandedWrapper.cs
- WindowsStatusBar.cs
- Utils.cs
- XmlQualifiedName.cs
- EntityContainer.cs
- XmlILOptimizerVisitor.cs
- XmlSchemas.cs
- CheckBoxRenderer.cs
- StreamWriter.cs
- ObjectView.cs
- LifetimeServices.cs
- ByeOperationCD1AsyncResult.cs
- BitmapSource.cs
- TreeChangeInfo.cs
- EntityContainer.cs
- TriState.cs
- UriExt.cs
- FixedSOMPage.cs
- StatusBarPanel.cs
- safex509handles.cs
- HScrollProperties.cs
- MsmqTransportSecurity.cs
- KeyTimeConverter.cs
- CharacterString.cs