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
- StrokeNodeOperations2.cs
- PasswordRecovery.cs
- DataListItemCollection.cs
- Pair.cs
- COM2ColorConverter.cs
- ToggleProviderWrapper.cs
- SizeChangedInfo.cs
- _NtlmClient.cs
- TileBrush.cs
- Publisher.cs
- WebGetAttribute.cs
- selecteditemcollection.cs
- SoapServerMethod.cs
- SoapTypeAttribute.cs
- UnknownBitmapDecoder.cs
- SecurityRuntime.cs
- StrokeCollection2.cs
- StoreItemCollection.cs
- _UriTypeConverter.cs
- EntityDataSourceValidationException.cs
- SchemaElementLookUpTable.cs
- ScanQueryOperator.cs
- GeneralTransform3DGroup.cs
- CodeNamespace.cs
- IndexerNameAttribute.cs
- EntityDataSourceDesigner.cs
- ToolStripComboBox.cs
- SqlRemoveConstantOrderBy.cs
- GeneralTransform.cs
- Funcletizer.cs
- ClassHandlersStore.cs
- Expressions.cs
- SweepDirectionValidation.cs
- GenericTextProperties.cs
- HttpSessionStateWrapper.cs
- SqlUserDefinedTypeAttribute.cs
- SkipQueryOptionExpression.cs
- ObjectTypeMapping.cs
- MembershipValidatePasswordEventArgs.cs
- SqlTypeConverter.cs
- QueryableDataSourceEditData.cs
- ReadOnlyHierarchicalDataSource.cs
- WebAdminConfigurationHelper.cs
- ScrollViewer.cs
- _NtlmClient.cs
- FontNamesConverter.cs
- NavigatorOutput.cs
- BaseComponentEditor.cs
- DecoderReplacementFallback.cs
- CodeArrayIndexerExpression.cs
- UnmanagedMarshal.cs
- PerformanceCounterManager.cs
- RankException.cs
- FixedSOMPageConstructor.cs
- DataViewSetting.cs
- SurrogateEncoder.cs
- AsmxEndpointPickerExtension.cs
- PeerContact.cs
- CommonObjectSecurity.cs
- StringUtil.cs
- TypeToStringValueConverter.cs
- MimeMultiPart.cs
- KoreanLunisolarCalendar.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- CodeGeneratorOptions.cs
- TextBoxAutomationPeer.cs
- UserControlBuildProvider.cs
- InstanceOwnerQueryResult.cs
- InputLanguageProfileNotifySink.cs
- SqlRecordBuffer.cs
- Transform3DGroup.cs
- AppDomainAttributes.cs
- DataPagerField.cs
- EdmProperty.cs
- ParameterRefs.cs
- EntityCollection.cs
- Command.cs
- regiisutil.cs
- ButtonColumn.cs
- XsltContext.cs
- PriorityBindingExpression.cs
- CounterNameConverter.cs
- ToolCreatedEventArgs.cs
- ProcessInputEventArgs.cs
- MenuRenderer.cs
- login.cs
- EdmValidator.cs
- IndexObject.cs
- RadioButton.cs
- AppDomainAttributes.cs
- CacheChildrenQuery.cs
- PersistenceContext.cs
- IndentTextWriter.cs
- mediaeventshelper.cs
- ColorTranslator.cs
- EnvironmentPermission.cs
- XsltArgumentList.cs
- Msec.cs
- StandardCommandToolStripMenuItem.cs
- LinkLabelLinkClickedEvent.cs