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
- DrawingAttributes.cs
- DynamicResourceExtension.cs
- CryptoKeySecurity.cs
- CornerRadius.cs
- CodeConditionStatement.cs
- DataGridToolTip.cs
- WebPartDeleteVerb.cs
- Brushes.cs
- CurrencyWrapper.cs
- IndependentAnimationStorage.cs
- SqlNamer.cs
- DataRecordObjectView.cs
- AsyncCompletedEventArgs.cs
- HttpListenerPrefixCollection.cs
- NamespaceCollection.cs
- HttpChannelListener.cs
- GridViewColumnCollectionChangedEventArgs.cs
- DataGridViewCellMouseEventArgs.cs
- ToolTip.cs
- DataGridViewButtonColumn.cs
- Sql8ConformanceChecker.cs
- CodeIndexerExpression.cs
- ThemeDictionaryExtension.cs
- PointLightBase.cs
- RijndaelManagedTransform.cs
- SimpleType.cs
- SqlBulkCopyColumnMappingCollection.cs
- CursorEditor.cs
- WbemProvider.cs
- ToolStripDropDownClosingEventArgs.cs
- DataGridSortCommandEventArgs.cs
- UpdatePanelControlTrigger.cs
- TreeViewDesigner.cs
- CodePageUtils.cs
- XmlSchema.cs
- DesignerSerializationOptionsAttribute.cs
- RecognizerBase.cs
- SortExpressionBuilder.cs
- Guid.cs
- ExecutionContext.cs
- EntityProviderFactory.cs
- TraceSource.cs
- GroupBox.cs
- PartitionResolver.cs
- WebPartAddingEventArgs.cs
- UnmanagedMarshal.cs
- ISFClipboardData.cs
- DesignerAttribute.cs
- PropertyTabChangedEvent.cs
- Attributes.cs
- RecognizerStateChangedEventArgs.cs
- KeyTime.cs
- ScriptComponentDescriptor.cs
- ExclusiveCanonicalizationTransform.cs
- VariableExpressionConverter.cs
- ExpressionConverter.cs
- GenericWebPart.cs
- TreeView.cs
- FrameworkPropertyMetadata.cs
- SendMailErrorEventArgs.cs
- LoginUtil.cs
- RewritingSimplifier.cs
- GenericTypeParameterBuilder.cs
- PropertyDescriptorCollection.cs
- VisualTarget.cs
- UnsafeNativeMethodsCLR.cs
- UserControl.cs
- HwndSubclass.cs
- TrustSection.cs
- BindingUtils.cs
- CallInfo.cs
- ExpressionParser.cs
- JsonServiceDocumentSerializer.cs
- IPipelineRuntime.cs
- X509Certificate2Collection.cs
- GlobalizationAssembly.cs
- KeyboardEventArgs.cs
- LocatorPartList.cs
- ECDiffieHellmanCngPublicKey.cs
- Transform.cs
- CounterCreationDataConverter.cs
- FileDataSourceCache.cs
- ScaleTransform3D.cs
- DataGridViewLinkCell.cs
- ChineseLunisolarCalendar.cs
- Errors.cs
- PersonalizableAttribute.cs
- DataGrid.cs
- WebBrowserDocumentCompletedEventHandler.cs
- FigureParaClient.cs
- RadioButtonBaseAdapter.cs
- BrowserDefinition.cs
- PropertyMapper.cs
- BinaryQueryOperator.cs
- AsymmetricKeyExchangeDeformatter.cs
- TextRunProperties.cs
- BindingsSection.cs
- ReferenceEqualityComparer.cs
- Number.cs
- OdbcPermission.cs