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
- Accessors.cs
- WindowsScrollBarBits.cs
- SafeFileMapViewHandle.cs
- ContextMenuService.cs
- EncoderFallback.cs
- CustomError.cs
- XmlTextReaderImplHelpers.cs
- ContextStack.cs
- PropertyDescriptorGridEntry.cs
- ProtectedConfiguration.cs
- SimpleFieldTemplateUserControl.cs
- DrawingVisualDrawingContext.cs
- XmlDeclaration.cs
- ObjectSet.cs
- ConnectionInterfaceCollection.cs
- ByteAnimation.cs
- ColumnPropertiesGroup.cs
- OperatingSystem.cs
- FullTrustAssembliesSection.cs
- ProfileElement.cs
- SmtpAuthenticationManager.cs
- QueryPageSettingsEventArgs.cs
- InstanceLockQueryResult.cs
- EntityModelBuildProvider.cs
- InlineUIContainer.cs
- InplaceBitmapMetadataWriter.cs
- TextTrailingCharacterEllipsis.cs
- PartitionerQueryOperator.cs
- SessionPageStateSection.cs
- _NtlmClient.cs
- CryptoProvider.cs
- NullReferenceException.cs
- QilReplaceVisitor.cs
- HttpPostServerProtocol.cs
- CompositeControl.cs
- ControlIdConverter.cs
- SetterBase.cs
- RequiredFieldValidator.cs
- InstallerTypeAttribute.cs
- SocketException.cs
- COM2AboutBoxPropertyDescriptor.cs
- DesignerGenericWebPart.cs
- Misc.cs
- ChildTable.cs
- ShaderEffect.cs
- AdornedElementPlaceholder.cs
- SafeNativeMethods.cs
- SimpleWebHandlerParser.cs
- MediaCommands.cs
- EmptyStringExpandableObjectConverter.cs
- ProfileService.cs
- ContextStaticAttribute.cs
- X500Name.cs
- QueryStack.cs
- SmtpTransport.cs
- TagMapCollection.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- EnterpriseServicesHelper.cs
- TargetParameterCountException.cs
- CompileLiteralTextParser.cs
- ConnectionStringsSection.cs
- DataKeyArray.cs
- SqlErrorCollection.cs
- TabItem.cs
- ValidationErrorCollection.cs
- _MultipleConnectAsync.cs
- SharedStatics.cs
- COM2ComponentEditor.cs
- InfocardExtendedInformationEntry.cs
- TableItemStyle.cs
- DockProviderWrapper.cs
- PageRanges.cs
- MarkupCompilePass2.cs
- ValidationRuleCollection.cs
- DotExpr.cs
- InfoCard.cs
- CorrelationTokenTypeConvertor.cs
- ShimAsPublicXamlType.cs
- StaticSiteMapProvider.cs
- BoolExpression.cs
- DataObject.cs
- ConfigXmlText.cs
- UIElement3D.cs
- TraceLevelStore.cs
- SqlServer2KCompatibilityCheck.cs
- TextBoxDesigner.cs
- SortedSetDebugView.cs
- UnicastIPAddressInformationCollection.cs
- OleDbConnection.cs
- SvcMapFileSerializer.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- DecimalAnimation.cs
- BStrWrapper.cs
- Helper.cs
- SqlBinder.cs
- ComplexBindingPropertiesAttribute.cs
- HttpDebugHandler.cs
- pingexception.cs
- BitmapEffect.cs
- AsymmetricKeyExchangeFormatter.cs