Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Presentation / System / Activities / Presentation / Base / Interaction / Model / EnumValidator.cs / 1305376 / EnumValidator.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities.Presentation.Model { using System; //// Class containing a single IsValid() method that ensures // that the given public enum is of expected value. Use this // method to validate the enum value of all publicly exposed setters. // internal static partial class EnumValidator { public static bool IsValid(CreateOptions value) { return value == CreateOptions.None || value == CreateOptions.InitializeDefaults; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewMethods.cs
- OracleNumber.cs
- XmlHierarchicalDataSourceView.cs
- ContextProperty.cs
- InvokeHandlers.cs
- PersistenceTask.cs
- CssTextWriter.cs
- DrawingAttributeSerializer.cs
- _AutoWebProxyScriptHelper.cs
- WebPartAuthorizationEventArgs.cs
- SystemIPInterfaceStatistics.cs
- QuaternionRotation3D.cs
- RectConverter.cs
- SourceElementsCollection.cs
- MimeFormReflector.cs
- GetPageCompletedEventArgs.cs
- FormsAuthenticationUser.cs
- XmlAnyAttributeAttribute.cs
- Label.cs
- GeneralTransform3DCollection.cs
- Compensate.cs
- ClientSettingsSection.cs
- PathSegmentCollection.cs
- Rectangle.cs
- ClientConfigurationSystem.cs
- StorageAssociationSetMapping.cs
- SmtpAuthenticationManager.cs
- SafeNativeMethodsMilCoreApi.cs
- InvariantComparer.cs
- ProgramNode.cs
- CriticalHandle.cs
- ContextBase.cs
- ParameterExpression.cs
- _UriTypeConverter.cs
- Type.cs
- PlanCompilerUtil.cs
- TripleDESCryptoServiceProvider.cs
- CommandManager.cs
- NetCodeGroup.cs
- SqlClientPermission.cs
- DataGridViewRowConverter.cs
- HttpModuleAction.cs
- FillBehavior.cs
- GenericWebPart.cs
- RealProxy.cs
- HttpProtocolImporter.cs
- CodeMemberProperty.cs
- CharacterMetricsDictionary.cs
- AuthenticationModuleElementCollection.cs
- ObjectFullSpanRewriter.cs
- XmlCDATASection.cs
- httpapplicationstate.cs
- AsymmetricKeyExchangeDeformatter.cs
- LingerOption.cs
- DataGridRelationshipRow.cs
- EdmScalarPropertyAttribute.cs
- TreeViewImageKeyConverter.cs
- IPGlobalProperties.cs
- DrawingVisual.cs
- OdbcConnectionFactory.cs
- PropertyPathConverter.cs
- RoleManagerSection.cs
- DependencyPropertyConverter.cs
- SemanticBasicElement.cs
- EqualityComparer.cs
- TextControlDesigner.cs
- DataServiceException.cs
- ValidationError.cs
- SecurityKeyIdentifier.cs
- MediaContext.cs
- sqlcontext.cs
- DataSet.cs
- _emptywebproxy.cs
- LinearKeyFrames.cs
- DBConcurrencyException.cs
- TextServicesCompartmentContext.cs
- ConnectivityStatus.cs
- Keywords.cs
- DependencyPropertyAttribute.cs
- SQLDoubleStorage.cs
- SignatureGenerator.cs
- ResourceAttributes.cs
- ByteConverter.cs
- Rotation3D.cs
- Error.cs
- CodeGroup.cs
- ICspAsymmetricAlgorithm.cs
- AuthenticateEventArgs.cs
- DispatchChannelSink.cs
- NamespaceDisplay.xaml.cs
- ModelMemberCollection.cs
- FileDialog.cs
- ServiceDescriptionReflector.cs
- HwndMouseInputProvider.cs
- XNodeSchemaApplier.cs
- DbMetaDataFactory.cs
- DefaultEventAttribute.cs
- Point.cs
- StateWorkerRequest.cs
- MailMessageEventArgs.cs