Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Shared / MS / Internal / Generated / ShaderRenderModeValidation.cs / 1 / ShaderRenderModeValidation.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. // //--------------------------------------------------------------------------- #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.Effects { 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 IsShaderRenderModeValid(object valueObject) { ShaderRenderMode value = (ShaderRenderMode) valueObject; return (value == ShaderRenderMode.Auto) || (value == ShaderRenderMode.SoftwareOnly) || (value == ShaderRenderMode.HardwareOnly); } } } // 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. // //--------------------------------------------------------------------------- #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.Effects { 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 IsShaderRenderModeValid(object valueObject) { ShaderRenderMode value = (ShaderRenderMode) valueObject; return (value == ShaderRenderMode.Auto) || (value == ShaderRenderMode.SoftwareOnly) || (value == ShaderRenderMode.HardwareOnly); } } } // 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
- Effect.cs
- DynamicUpdateCommand.cs
- TagMapCollection.cs
- DelegatingConfigHost.cs
- FormatSettings.cs
- ObjectDataSourceStatusEventArgs.cs
- PostBackTrigger.cs
- SignatureResourcePool.cs
- ToolStripDropDownDesigner.cs
- Int32Animation.cs
- Compilation.cs
- ClientSettings.cs
- ParameterCollection.cs
- ConfigXmlSignificantWhitespace.cs
- XmlAttributeCollection.cs
- configsystem.cs
- FormViewDeleteEventArgs.cs
- XPathExpr.cs
- XmlTextReaderImplHelpers.cs
- BehaviorEditorPart.cs
- AsmxEndpointPickerExtension.cs
- ImageBrush.cs
- UIAgentInitializationException.cs
- CollectionChangeEventArgs.cs
- PingReply.cs
- DataSourceNameHandler.cs
- MimeTypeAttribute.cs
- Line.cs
- IMembershipProvider.cs
- BufferedReadStream.cs
- TypeElement.cs
- DataViewSettingCollection.cs
- ArgIterator.cs
- ThemeDirectoryCompiler.cs
- FunctionOverloadResolver.cs
- GenericPrincipal.cs
- DocumentOrderQuery.cs
- LayoutInformation.cs
- Imaging.cs
- SqlReferenceCollection.cs
- MethodBuilder.cs
- DBNull.cs
- CodeDomExtensionMethods.cs
- SpeechAudioFormatInfo.cs
- CompilationRelaxations.cs
- RuleSettings.cs
- UriGenerator.cs
- DeleteWorkflowOwnerCommand.cs
- datacache.cs
- QilDataSource.cs
- MULTI_QI.cs
- QueryGeneratorBase.cs
- LocationChangedEventArgs.cs
- ImageField.cs
- Quaternion.cs
- FixedLineResult.cs
- ReachUIElementCollectionSerializer.cs
- WebConfigurationHost.cs
- ContentFilePart.cs
- ReadOnlyCollectionBase.cs
- GradientBrush.cs
- BinaryCommonClasses.cs
- Geometry3D.cs
- SByteConverter.cs
- ResourceContainer.cs
- TreeIterator.cs
- ByteRangeDownloader.cs
- TemplateColumn.cs
- WebControlsSection.cs
- HitTestResult.cs
- ProfessionalColorTable.cs
- Size.cs
- LambdaCompiler.Logical.cs
- DBDataPermissionAttribute.cs
- LingerOption.cs
- ObjectDataSourceFilteringEventArgs.cs
- AttributeAction.cs
- MetadataItem.cs
- BasicHttpSecurityMode.cs
- ReflectionHelper.cs
- ASCIIEncoding.cs
- ListViewInsertionMark.cs
- DbModificationClause.cs
- LogExtentCollection.cs
- DictionaryBase.cs
- HMACSHA1.cs
- BamlLocalizationDictionary.cs
- TextParaLineResult.cs
- CodeTypeDelegate.cs
- XmlElementCollection.cs
- EventMappingSettingsCollection.cs
- SolidColorBrush.cs
- DateTimeConstantAttribute.cs
- CategoryList.cs
- DrawingBrush.cs
- VisualProxy.cs
- OverloadGroupAttribute.cs
- SystemIPInterfaceStatistics.cs
- SqlException.cs
- OleDragDropHandler.cs