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 / EdgeProfileValidation.cs / 1 / EdgeProfileValidation.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 IsEdgeProfileValid(object valueObject) { EdgeProfile value = (EdgeProfile) valueObject; return (value == EdgeProfile.Linear) || (value == EdgeProfile.CurvedIn) || (value == EdgeProfile.CurvedOut) || (value == EdgeProfile.BulgedUp); } } } // 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 IsEdgeProfileValid(object valueObject) { EdgeProfile value = (EdgeProfile) valueObject; return (value == EdgeProfile.Linear) || (value == EdgeProfile.CurvedIn) || (value == EdgeProfile.CurvedOut) || (value == EdgeProfile.BulgedUp); } } } // 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
- FormsAuthenticationUserCollection.cs
- CallSite.cs
- TypeDescriptionProvider.cs
- DragDropManager.cs
- CacheEntry.cs
- CodeCatchClause.cs
- OracleString.cs
- TraceInternal.cs
- Vector3DValueSerializer.cs
- ThicknessKeyFrameCollection.cs
- FieldBuilder.cs
- RegexCode.cs
- DesignerTransaction.cs
- HttpPostClientProtocol.cs
- IFlowDocumentViewer.cs
- ReflectionPermission.cs
- ScriptManager.cs
- _Win32.cs
- BindableAttribute.cs
- LinearGradientBrush.cs
- CheckoutException.cs
- ChangeConflicts.cs
- ReadOnlyDataSourceView.cs
- SqlDependency.cs
- ArrayItemReference.cs
- PropertyRef.cs
- ScriptReference.cs
- Triplet.cs
- Opcode.cs
- TdsParserStateObject.cs
- BinHexEncoder.cs
- SapiRecoInterop.cs
- TdsParserSafeHandles.cs
- LingerOption.cs
- ThreadInterruptedException.cs
- jithelpers.cs
- InvalidComObjectException.cs
- CodeTypeConstructor.cs
- ContentPresenter.cs
- HMACSHA384.cs
- PagedDataSource.cs
- GridItemPatternIdentifiers.cs
- MimeFormatExtensions.cs
- MetadataFile.cs
- PageStatePersister.cs
- ChildrenQuery.cs
- EndSelectCardRequest.cs
- WindowsTitleBar.cs
- ProcessModelInfo.cs
- DataGridViewComboBoxColumn.cs
- SerializationFieldInfo.cs
- CAGDesigner.cs
- ConstructorBuilder.cs
- userdatakeys.cs
- NavigationWindowAutomationPeer.cs
- WebPartHelpVerb.cs
- WebConfigurationFileMap.cs
- SelectorItemAutomationPeer.cs
- MessageContractAttribute.cs
- CounterSetInstanceCounterDataSet.cs
- WindowsTooltip.cs
- BitArray.cs
- PhysicalFontFamily.cs
- BindingList.cs
- Emitter.cs
- CacheEntry.cs
- SqlDataSourceFilteringEventArgs.cs
- BindingContext.cs
- XmlNotation.cs
- ConfigXmlElement.cs
- EntityClientCacheEntry.cs
- CacheDependency.cs
- TextServicesCompartmentContext.cs
- XmlSerializer.cs
- DiffuseMaterial.cs
- Int64Animation.cs
- MULTI_QI.cs
- SelectionGlyph.cs
- CodeAttributeDeclarationCollection.cs
- EventWaitHandle.cs
- CompositeKey.cs
- CodeStatementCollection.cs
- ListDesigner.cs
- SqlTransaction.cs
- HttpContext.cs
- SQLBytesStorage.cs
- JsonReader.cs
- EditorResources.cs
- AsyncResult.cs
- FamilyTypeface.cs
- OrthographicCamera.cs
- SystemFonts.cs
- CommandConverter.cs
- MultiTrigger.cs
- relpropertyhelper.cs
- Selection.cs
- StringBuilder.cs
- CompositeCollectionView.cs
- IfJoinedCondition.cs
- ServiceProviders.cs