Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Presentation / System / Activities / Presentation / Base / Core / PropertyEditing / EnumValidator.cs / 1305376 / EnumValidator.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities.Presentation.PropertyEditing { 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(PropertyValueExceptionSource value) { return value == PropertyValueExceptionSource.Get || value == PropertyValueExceptionSource.Set; } } } // 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
- AuthenticationException.cs
- SliderAutomationPeer.cs
- HostedHttpContext.cs
- RenameRuleObjectDialog.cs
- AndCondition.cs
- SynchronizingStream.cs
- TextModifierScope.cs
- XmlUrlResolver.cs
- autovalidator.cs
- LocationChangedEventArgs.cs
- VectorValueSerializer.cs
- Geometry3D.cs
- CommandHelpers.cs
- COM2PropertyPageUITypeConverter.cs
- ActivityExecutorDelegateInfo.cs
- SeekableMessageNavigator.cs
- PrePostDescendentsWalker.cs
- WsatServiceCertificate.cs
- TabletDeviceInfo.cs
- ExceptionUtil.cs
- BufferedResponseStream.cs
- SafeMILHandle.cs
- __ConsoleStream.cs
- SqlConnectionString.cs
- ThousandthOfEmRealDoubles.cs
- CheckBoxFlatAdapter.cs
- SymLanguageVendor.cs
- ColorEditor.cs
- XmlSchemaAttribute.cs
- Part.cs
- PerformanceCounterPermissionEntry.cs
- LowerCaseStringConverter.cs
- ExpressionBindingCollection.cs
- ExecutedRoutedEventArgs.cs
- OdbcEnvironmentHandle.cs
- Padding.cs
- HttpCapabilitiesSectionHandler.cs
- PersonalizationProviderHelper.cs
- DataViewSettingCollection.cs
- TextRangeSerialization.cs
- DocumentCollection.cs
- SimpleExpression.cs
- TextRangeEdit.cs
- Identifier.cs
- XmlSiteMapProvider.cs
- MetadataItemEmitter.cs
- _FtpControlStream.cs
- FixedHyperLink.cs
- DateTimeHelper.cs
- XMLSchema.cs
- OperandQuery.cs
- SymmetricAlgorithm.cs
- IndicCharClassifier.cs
- CalculatedColumn.cs
- PanningMessageFilter.cs
- TypeListConverter.cs
- Reference.cs
- ExpressionEvaluator.cs
- RefType.cs
- ObjectContextServiceProvider.cs
- RepeatInfo.cs
- SystemColorTracker.cs
- InstalledVoice.cs
- SplitContainer.cs
- GridViewColumnHeaderAutomationPeer.cs
- BmpBitmapDecoder.cs
- ConnectionStringsSection.cs
- XPathSelfQuery.cs
- ComponentConverter.cs
- RoleServiceManager.cs
- ViewLoader.cs
- ReadContentAsBinaryHelper.cs
- Grant.cs
- HelpEvent.cs
- PrintControllerWithStatusDialog.cs
- GridLengthConverter.cs
- ZipIOLocalFileDataDescriptor.cs
- GZipDecoder.cs
- SHA256Managed.cs
- SocketManager.cs
- ElementNotAvailableException.cs
- Stroke.cs
- _SecureChannel.cs
- SQLSingleStorage.cs
- LineServicesCallbacks.cs
- ByteAnimation.cs
- SQLDecimal.cs
- VectorValueSerializer.cs
- Soap12ServerProtocol.cs
- ProviderBase.cs
- Knowncolors.cs
- SqlProviderServices.cs
- NameObjectCollectionBase.cs
- KeyInfo.cs
- OracleParameter.cs
- CSharpCodeProvider.cs
- CachedBitmap.cs
- CodeGenerator.cs
- MatrixIndependentAnimationStorage.cs
- unsafeIndexingFilterStream.cs