Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- SspiHelper.cs
- PerformanceCounterPermission.cs
- ICspAsymmetricAlgorithm.cs
- WindowsComboBox.cs
- MimeTypeMapper.cs
- MarkupExtensionSerializer.cs
- _OSSOCK.cs
- TransformValueSerializer.cs
- login.cs
- SafeRegistryHandle.cs
- CriticalExceptions.cs
- ImageInfo.cs
- RouteItem.cs
- ArrayList.cs
- ToolboxItemFilterAttribute.cs
- AssemblyFilter.cs
- XmlSerializationGeneratedCode.cs
- DrawListViewSubItemEventArgs.cs
- AstNode.cs
- FtpRequestCacheValidator.cs
- ScaleTransform3D.cs
- ThreadExceptionDialog.cs
- TextEditorLists.cs
- DataGridHelper.cs
- UserNameSecurityTokenAuthenticator.cs
- RegexParser.cs
- GeneralTransformGroup.cs
- ParseHttpDate.cs
- RIPEMD160Managed.cs
- InputMethod.cs
- SecurityKeyIdentifierClause.cs
- XsdValidatingReader.cs
- TransformValueSerializer.cs
- ActivationServices.cs
- HtmlInputFile.cs
- SchemaImporterExtensionElementCollection.cs
- ImageFormatConverter.cs
- SchemaLookupTable.cs
- DefaultTraceListener.cs
- EdmItemError.cs
- UIElementIsland.cs
- ListenerConstants.cs
- LabelEditEvent.cs
- DataGridViewRowEventArgs.cs
- HotSpot.cs
- MobileResource.cs
- PageParser.cs
- HtmlInputCheckBox.cs
- ReferencedCollectionType.cs
- ChangeConflicts.cs
- SecurityContext.cs
- DataViewSetting.cs
- Int16.cs
- DataList.cs
- FileCodeGroup.cs
- XmlFileEditor.cs
- StylusTip.cs
- BmpBitmapDecoder.cs
- RankException.cs
- TrustLevel.cs
- AbstractDataSvcMapFileLoader.cs
- ListViewSelectEventArgs.cs
- URI.cs
- ListViewInsertedEventArgs.cs
- HexParser.cs
- ServiceBehaviorAttribute.cs
- QueryHandler.cs
- IPAddressCollection.cs
- ToolBar.cs
- UmAlQuraCalendar.cs
- DbMetaDataColumnNames.cs
- XmlCharType.cs
- RunInstallerAttribute.cs
- RowParagraph.cs
- RemotingException.cs
- InputScope.cs
- SqlGenericUtil.cs
- WhiteSpaceTrimStringConverter.cs
- StylusDownEventArgs.cs
- WindowsScroll.cs
- COM2TypeInfoProcessor.cs
- LocalizableResourceBuilder.cs
- ResetableIterator.cs
- TextSimpleMarkerProperties.cs
- NativeMethods.cs
- CollectionType.cs
- XamlGridLengthSerializer.cs
- IntersectQueryOperator.cs
- IsolatedStorageFilePermission.cs
- ADRoleFactory.cs
- HttpHandlersSection.cs
- BrowserCapabilitiesCompiler.cs
- AssociationTypeEmitter.cs
- XmlQualifiedNameTest.cs
- HtmlMeta.cs
- _NestedSingleAsyncResult.cs
- MetabaseSettingsIis7.cs
- BitHelper.cs
- MethodCallExpression.cs
- XmlSchemaExternal.cs