Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / 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 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. //---------------------------------------------------------------------------- // //// 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
- ValidatingReaderNodeData.cs
- WebDisplayNameAttribute.cs
- TemplatePropertyEntry.cs
- RequestCachePolicy.cs
- RegexRunner.cs
- SatelliteContractVersionAttribute.cs
- WindowsFormsDesignerOptionService.cs
- DataControlButton.cs
- DoubleAnimationUsingPath.cs
- VirtualDirectoryMappingCollection.cs
- ImmComposition.cs
- DataPagerField.cs
- WsiProfilesElement.cs
- Error.cs
- WebPartDescription.cs
- AuthenticateEventArgs.cs
- ResourceManagerWrapper.cs
- FSWPathEditor.cs
- DomainUpDown.cs
- HitTestParameters.cs
- GridView.cs
- PrintController.cs
- ObjectIDGenerator.cs
- SqlUnionizer.cs
- ListView.cs
- XmlSchemaInfo.cs
- Msec.cs
- InternalResources.cs
- RsaElement.cs
- log.cs
- HttpProfileGroupBase.cs
- MetaTable.cs
- WebDisplayNameAttribute.cs
- RegexRunner.cs
- DataServiceResponse.cs
- WebPartEventArgs.cs
- PackagingUtilities.cs
- CrossAppDomainChannel.cs
- PackUriHelper.cs
- HMACRIPEMD160.cs
- TimeSpanValidatorAttribute.cs
- WebPartUtil.cs
- SspiSecurityTokenParameters.cs
- RecognizeCompletedEventArgs.cs
- bidPrivateBase.cs
- X509IssuerSerialKeyIdentifierClause.cs
- ParentUndoUnit.cs
- System.Data_BID.cs
- BigInt.cs
- XmlUtf8RawTextWriter.cs
- TypeBuilder.cs
- UrlPath.cs
- DocumentOrderComparer.cs
- WebScriptMetadataMessageEncoderFactory.cs
- WebBrowserBase.cs
- MachineKeySection.cs
- DataViewSetting.cs
- FileSecurity.cs
- UDPClient.cs
- _NtlmClient.cs
- CorruptingExceptionCommon.cs
- Matrix3D.cs
- ImageKeyConverter.cs
- MulticastOption.cs
- UserControlFileEditor.cs
- DrawingContextWalker.cs
- BaseInfoTable.cs
- ExpressionBinding.cs
- ContentFilePart.cs
- WebPageTraceListener.cs
- PeerNameRecordCollection.cs
- DataTableTypeConverter.cs
- TimeSpanValidatorAttribute.cs
- ApplicationSecurityInfo.cs
- PointValueSerializer.cs
- MobileControlsSection.cs
- Line.cs
- LightweightCodeGenerator.cs
- Empty.cs
- AffineTransform3D.cs
- LocalBuilder.cs
- XmlBinaryReaderSession.cs
- SoapCodeExporter.cs
- sqlpipe.cs
- HeaderedItemsControl.cs
- VirtualPathProvider.cs
- SQLDecimal.cs
- EditorZone.cs
- InputScopeConverter.cs
- Vector3DConverter.cs
- CodeGen.cs
- XmlDocument.cs
- XmlAtomErrorReader.cs
- OleDbException.cs
- Pool.cs
- CryptoApi.cs
- BooleanAnimationBase.cs
- SiblingIterators.cs
- ConnectionPoint.cs
- DynamicActionMessageFilter.cs