Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- MimeReflector.cs
- CollectionExtensions.cs
- ChangeConflicts.cs
- CompilerLocalReference.cs
- GrammarBuilderDictation.cs
- ParamArrayAttribute.cs
- IChannel.cs
- SelectionUIService.cs
- VariableElement.cs
- Constants.cs
- DataListItem.cs
- ImageCodecInfoPrivate.cs
- RtfControls.cs
- ConstNode.cs
- StronglyTypedResourceBuilder.cs
- MultiTrigger.cs
- ToolBar.cs
- ObservableDictionary.cs
- adornercollection.cs
- _TimerThread.cs
- LockRenewalTask.cs
- COM2PictureConverter.cs
- RelationshipEnd.cs
- FixedDocumentSequencePaginator.cs
- SystemException.cs
- SqlInternalConnectionSmi.cs
- SimpleBitVector32.cs
- PropertyIdentifier.cs
- LockedActivityGlyph.cs
- TemplateBamlTreeBuilder.cs
- recordstatescratchpad.cs
- SoundPlayerAction.cs
- ErrorWebPart.cs
- StatementContext.cs
- MediaElement.cs
- ChangeInterceptorAttribute.cs
- AVElementHelper.cs
- EmbeddedMailObjectCollectionEditor.cs
- XmlDictionaryReader.cs
- _SSPISessionCache.cs
- MachineKeyConverter.cs
- DocumentPage.cs
- XAMLParseException.cs
- Int32Collection.cs
- AssemblyAttributes.cs
- AssociativeAggregationOperator.cs
- UpdatePanelTriggerCollection.cs
- XmlTextWriter.cs
- ResourcePermissionBaseEntry.cs
- QilTernary.cs
- JavaScriptSerializer.cs
- UrlEncodedParameterWriter.cs
- CategoryGridEntry.cs
- EntityDataSourceContextCreatingEventArgs.cs
- ImageMapEventArgs.cs
- EmbeddedMailObject.cs
- MouseActionConverter.cs
- NeedSkipTokenVisitor.cs
- X509RawDataKeyIdentifierClause.cs
- AsymmetricCryptoHandle.cs
- WindowsFormsSectionHandler.cs
- PathGeometry.cs
- UiaCoreTypesApi.cs
- BitmapEffectState.cs
- DataBoundControl.cs
- ParameterRefs.cs
- PanelStyle.cs
- FunctionGenerator.cs
- XmlSchemaSimpleContent.cs
- XmlRawWriter.cs
- columnmapfactory.cs
- DataViewListener.cs
- RepeaterItemEventArgs.cs
- LoginView.cs
- PropertyTabChangedEvent.cs
- DockPattern.cs
- LocalTransaction.cs
- DrawTreeNodeEventArgs.cs
- TypeExtensionConverter.cs
- Thickness.cs
- MultiTargetingUtil.cs
- ProcessInputEventArgs.cs
- ResourceExpression.cs
- PageDeviceFont.cs
- EventBindingService.cs
- SimpleWebHandlerParser.cs
- SharedStatics.cs
- regiisutil.cs
- DefaultProxySection.cs
- ActivityMarkupSerializationProvider.cs
- _StreamFramer.cs
- EncodingNLS.cs
- TextElementCollectionHelper.cs
- SspiWrapper.cs
- HttpEncoder.cs
- ListViewContainer.cs
- DataGridViewCheckBoxCell.cs
- TextSimpleMarkerProperties.cs
- WebPartAddingEventArgs.cs
- FixedSOMContainer.cs