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
- SynchronousSendBindingElement.cs
- UriScheme.cs
- DependencyPropertyDescriptor.cs
- DoubleIndependentAnimationStorage.cs
- SimpleBitVector32.cs
- StorageComplexTypeMapping.cs
- SecureStringHasher.cs
- XXXOnTypeBuilderInstantiation.cs
- _PooledStream.cs
- SkipQueryOptionExpression.cs
- OlePropertyStructs.cs
- ADMembershipUser.cs
- ColumnHeader.cs
- SRGSCompiler.cs
- DemultiplexingClientMessageFormatter.cs
- RestHandler.cs
- SafeViewOfFileHandle.cs
- EventProvider.cs
- NamedPipeWorkerProcess.cs
- EntityWithKeyStrategy.cs
- Interlocked.cs
- SourceInterpreter.cs
- StringWriter.cs
- ParserExtension.cs
- ElementMarkupObject.cs
- InfoCardSchemas.cs
- Compiler.cs
- loginstatus.cs
- QuaternionAnimation.cs
- SequenceQuery.cs
- CachedFontFamily.cs
- DataGridViewRow.cs
- TransformerInfo.cs
- SystemFonts.cs
- WebPart.cs
- MultilineStringConverter.cs
- Rotation3D.cs
- XmlCharCheckingReader.cs
- GeneralTransform3D.cs
- AssertFilter.cs
- TextElementEnumerator.cs
- Pointer.cs
- Rectangle.cs
- XmlSchemaInferenceException.cs
- XmlJsonWriter.cs
- FixedTextSelectionProcessor.cs
- OleDbParameter.cs
- InternalConfigHost.cs
- FactorySettingsElement.cs
- AttributeParameterInfo.cs
- WebEvents.cs
- InfoCardServiceInstallComponent.cs
- GeometryDrawing.cs
- XmlTextEncoder.cs
- PhysicalOps.cs
- DataRowView.cs
- Int16KeyFrameCollection.cs
- SkewTransform.cs
- XmlJsonWriter.cs
- CodeExpressionStatement.cs
- KnownBoxes.cs
- ChtmlCalendarAdapter.cs
- FamilyTypefaceCollection.cs
- SqlUdtInfo.cs
- WebRequest.cs
- DataControlButton.cs
- ConvertTextFrag.cs
- safex509handles.cs
- PageContentAsyncResult.cs
- SmtpFailedRecipientsException.cs
- WebBrowserNavigatedEventHandler.cs
- HyperLinkDataBindingHandler.cs
- ApplicationGesture.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- ZipFileInfoCollection.cs
- ProfileSection.cs
- TraceEventCache.cs
- TextPointer.cs
- base64Transforms.cs
- ReaderOutput.cs
- AuthenticationModuleElementCollection.cs
- TextCompositionManager.cs
- StreamGeometryContext.cs
- XmlSchemaCollection.cs
- WebPartTracker.cs
- TextTreeInsertElementUndoUnit.cs
- PictureBoxDesigner.cs
- XsdDuration.cs
- ApplicationDirectoryMembershipCondition.cs
- MessageQueuePermissionEntryCollection.cs
- VirtualizingStackPanel.cs
- ValidationRuleCollection.cs
- XamlVector3DCollectionSerializer.cs
- RectangleGeometry.cs
- PrivateFontCollection.cs
- PseudoWebRequest.cs
- HtmlTextArea.cs
- EqualityComparer.cs
- ClickablePoint.cs
- VisualCollection.cs