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
- Drawing.cs
- MenuBindingsEditor.cs
- ProfileSection.cs
- _NetRes.cs
- XmlSchemaImporter.cs
- SingleSelectRootGridEntry.cs
- ReaderWriterLockWrapper.cs
- SpeechUI.cs
- KeySpline.cs
- MediaTimeline.cs
- FilterableAttribute.cs
- RenderData.cs
- DiscardableAttribute.cs
- OrthographicCamera.cs
- ObjectDataSourceSelectingEventArgs.cs
- DSASignatureFormatter.cs
- PrintDocument.cs
- WSUtilitySpecificationVersion.cs
- Int32Collection.cs
- InlinedAggregationOperator.cs
- SystemTcpStatistics.cs
- MissingSatelliteAssemblyException.cs
- ParallelActivityDesigner.cs
- SqlCommand.cs
- ListBindingHelper.cs
- xsdvalidator.cs
- AutomationPattern.cs
- EncodingDataItem.cs
- ObjectDataSource.cs
- WindowsButton.cs
- OAVariantLib.cs
- HtmlInputFile.cs
- X509Extension.cs
- QuadraticBezierSegment.cs
- AuthStoreRoleProvider.cs
- DataControlImageButton.cs
- ChangeConflicts.cs
- XmlFormatReaderGenerator.cs
- InternalSafeNativeMethods.cs
- LoginCancelEventArgs.cs
- PhysicalOps.cs
- CacheForPrimitiveTypes.cs
- ThicknessAnimationBase.cs
- Rect3DValueSerializer.cs
- CaseDesigner.xaml.cs
- DataGridColumnCollection.cs
- InteropTrackingRecord.cs
- MarkedHighlightComponent.cs
- FormatterConverter.cs
- HttpSysSettings.cs
- ActivityBindForm.cs
- Thread.cs
- PreservationFileWriter.cs
- MailWriter.cs
- DataContractSerializerServiceBehavior.cs
- RowUpdatedEventArgs.cs
- PageBreakRecord.cs
- RequestQueryParser.cs
- Classification.cs
- TextElementCollectionHelper.cs
- ConnectionProviderAttribute.cs
- smtpconnection.cs
- InfoCardClaim.cs
- UntypedNullExpression.cs
- MasterPage.cs
- BrushValueSerializer.cs
- BatchServiceHost.cs
- XsdValidatingReader.cs
- util.cs
- ObjectConverter.cs
- ExtentKey.cs
- FieldToken.cs
- EntityType.cs
- DBSqlParserTableCollection.cs
- PagesSection.cs
- IssuedTokenClientElement.cs
- EmptyControlCollection.cs
- ResourceLoader.cs
- PrimitiveList.cs
- UInt64Converter.cs
- BamlRecords.cs
- SqlRecordBuffer.cs
- ProfilePropertySettings.cs
- ProxyWebPartManager.cs
- HtmlInputPassword.cs
- RtType.cs
- DataGridViewAdvancedBorderStyle.cs
- KnowledgeBase.cs
- JsonDeserializer.cs
- UntrustedRecipientException.cs
- NativeRecognizer.cs
- RegexTypeEditor.cs
- InlineObject.cs
- HttpConfigurationContext.cs
- DesignOnlyAttribute.cs
- ZipIOExtraFieldElement.cs
- SQLInt64.cs
- StylusLogic.cs
- BrowserCapabilitiesFactory35.cs
- BoundingRectTracker.cs