Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Shared / MS / Internal / Generated / RenderingBiasValidation.cs / 1 / RenderingBiasValidation.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 IsRenderingBiasValid(object valueObject) { RenderingBias value = (RenderingBias) valueObject; return (value == RenderingBias.Performance) || (value == RenderingBias.Quality); } } } // 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 IsRenderingBiasValid(object valueObject) { RenderingBias value = (RenderingBias) valueObject; return (value == RenderingBias.Performance) || (value == RenderingBias.Quality); } } } // 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
- ThrowHelper.cs
- FastPropertyAccessor.cs
- BuildTopDownAttribute.cs
- SerializerDescriptor.cs
- QilXmlWriter.cs
- CopyOnWriteList.cs
- HttpCachePolicyWrapper.cs
- WebContext.cs
- TextStore.cs
- SignatureGenerator.cs
- UriGenerator.cs
- GridItemCollection.cs
- XmlBinaryReader.cs
- WebBrowserContainer.cs
- FixedPageStructure.cs
- xmlsaver.cs
- ResolveResponse.cs
- DataTablePropertyDescriptor.cs
- ImmComposition.cs
- GridItemPattern.cs
- RestHandler.cs
- ToolStripMenuItem.cs
- Rect3D.cs
- FileRecordSequence.cs
- CharStorage.cs
- DesignerContextDescriptor.cs
- HyperLinkDesigner.cs
- SchemaImporterExtensionElement.cs
- ListViewItemSelectionChangedEvent.cs
- XmlSiteMapProvider.cs
- PathData.cs
- ValidationService.cs
- SmiMetaDataProperty.cs
- _ContextAwareResult.cs
- TaskFormBase.cs
- printdlgexmarshaler.cs
- NamedPipeChannelFactory.cs
- SizeFConverter.cs
- EntityDataSourceReferenceGroup.cs
- EdgeProfileValidation.cs
- followingsibling.cs
- DefaultMemberAttribute.cs
- ContextMenuStripActionList.cs
- PocoPropertyAccessorStrategy.cs
- HtmlInputButton.cs
- CodePrimitiveExpression.cs
- XmlCodeExporter.cs
- GrammarBuilderWildcard.cs
- OperandQuery.cs
- RSAOAEPKeyExchangeFormatter.cs
- SecurityContextSecurityTokenResolver.cs
- TcpServerChannel.cs
- LineSegment.cs
- GrammarBuilderRuleRef.cs
- SessionPageStatePersister.cs
- SQlBooleanStorage.cs
- WebPartDisplayModeCancelEventArgs.cs
- WizardPanel.cs
- PartialList.cs
- DataObjectEventArgs.cs
- HttpSessionStateWrapper.cs
- InputProcessorProfilesLoader.cs
- WFItemsToSpacerVisibility.cs
- SiteIdentityPermission.cs
- ContextProperty.cs
- XmlSerializerNamespaces.cs
- PermissionSet.cs
- UniqueIdentifierService.cs
- ServiceContractGenerationContext.cs
- TypeTypeConverter.cs
- ToolboxItemCollection.cs
- _HelperAsyncResults.cs
- RegularExpressionValidator.cs
- PeerNameRecordCollection.cs
- ToolBar.cs
- ExpressionBuilderCollection.cs
- ComponentDispatcher.cs
- IIS7WorkerRequest.cs
- BitmapCacheBrush.cs
- CreateSequence.cs
- TimeSpanParse.cs
- MsdtcWrapper.cs
- Clipboard.cs
- RepeaterItemEventArgs.cs
- Form.cs
- KeyManager.cs
- figurelengthconverter.cs
- UIElementHelper.cs
- EntityStoreSchemaFilterEntry.cs
- ProcessModelInfo.cs
- HttpModuleAction.cs
- FixedPage.cs
- AbstractDataSvcMapFileLoader.cs
- UnsafeNativeMethodsMilCoreApi.cs
- SerializeAbsoluteContext.cs
- SizeChangedInfo.cs
- WorkerRequest.cs
- LoggedException.cs
- WaitingCursor.cs
- XPathNode.cs