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
- panel.cs
- HtmlTable.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- SmiTypedGetterSetter.cs
- EmptyStringExpandableObjectConverter.cs
- JoinCqlBlock.cs
- coordinatorfactory.cs
- FloatUtil.cs
- Queue.cs
- ADRoleFactoryConfiguration.cs
- Stylesheet.cs
- TriggerAction.cs
- FixedElement.cs
- CreateSequenceResponse.cs
- MethodBuilderInstantiation.cs
- MethodCallConverter.cs
- QuaternionRotation3D.cs
- coordinator.cs
- SqlUDTStorage.cs
- EntitySqlQueryState.cs
- VerificationAttribute.cs
- SqlProcedureAttribute.cs
- SafeSystemMetrics.cs
- DataComponentGenerator.cs
- RsaKeyIdentifierClause.cs
- ParameterCollection.cs
- SvcFileManager.cs
- UnsafeNetInfoNativeMethods.cs
- URL.cs
- TextBoxBase.cs
- ValuePatternIdentifiers.cs
- SettingsPropertyWrongTypeException.cs
- ThreadStaticAttribute.cs
- XmlLoader.cs
- OleServicesContext.cs
- XmlWrappingWriter.cs
- WebBaseEventKeyComparer.cs
- ResourceKey.cs
- AssociationSetEnd.cs
- QuaternionAnimationBase.cs
- DataObjectMethodAttribute.cs
- ObjectParameter.cs
- TimelineCollection.cs
- WizardPanel.cs
- FileDialogCustomPlace.cs
- DateTimePicker.cs
- SqlXmlStorage.cs
- BitmapData.cs
- ResourceDictionaryCollection.cs
- BlockExpression.cs
- RunWorkerCompletedEventArgs.cs
- UnicastIPAddressInformationCollection.cs
- WindowsComboBox.cs
- SatelliteContractVersionAttribute.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- DateTimeConverter2.cs
- CalendarModeChangedEventArgs.cs
- BaseTransportHeaders.cs
- ArrayConverter.cs
- WorkflowOwnershipException.cs
- DeobfuscatingStream.cs
- InstanceData.cs
- TextElement.cs
- EntitySqlException.cs
- EventLogPermissionEntryCollection.cs
- PageClientProxyGenerator.cs
- ClipboardProcessor.cs
- TextDecoration.cs
- AtomEntry.cs
- ClientFormsAuthenticationMembershipProvider.cs
- odbcmetadatacolumnnames.cs
- BamlRecordWriter.cs
- Rotation3DAnimationBase.cs
- XmlTextReaderImplHelpers.cs
- Marshal.cs
- File.cs
- DataGridViewColumnEventArgs.cs
- LineVisual.cs
- DrawingCollection.cs
- WorkflowClientDeliverMessageWrapper.cs
- Evidence.cs
- RawUIStateInputReport.cs
- ObsoleteAttribute.cs
- ToolStripTextBox.cs
- Socket.cs
- MemberDomainMap.cs
- TrackingMemoryStream.cs
- M3DUtil.cs
- ObjectStateEntryDbDataRecord.cs
- WsdlServiceChannelBuilder.cs
- ImageCodecInfoPrivate.cs
- CommandDevice.cs
- Table.cs
- UnsupportedPolicyOptionsException.cs
- ZipIOExtraFieldElement.cs
- ObjectViewEntityCollectionData.cs
- SoapCodeExporter.cs
- SecurityHelper.cs
- DesigntimeLicenseContextSerializer.cs
- HotSpotCollectionEditor.cs