Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Common / AuthoringOM / Compiler / Validation / ValidatorAttribute.cs / 1305376 / ValidatorAttribute.cs
namespace System.Workflow.ComponentModel.Compiler
{
using System;
#region Class ValidatorAttribute
[AttributeUsageAttribute(AttributeTargets.Interface | AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class ActivityValidatorAttribute : Attribute
{
private string validatorTypeName = null;
public ActivityValidatorAttribute(Type validatorType)
{
if (validatorType != null)
this.validatorTypeName = validatorType.AssemblyQualifiedName;
}
public ActivityValidatorAttribute(string validatorTypeName)
{
this.validatorTypeName = validatorTypeName;
}
public string ValidatorTypeName
{
get
{
return this.validatorTypeName;
}
}
}
#endregion
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
namespace System.Workflow.ComponentModel.Compiler
{
using System;
#region Class ValidatorAttribute
[AttributeUsageAttribute(AttributeTargets.Interface | AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class ActivityValidatorAttribute : Attribute
{
private string validatorTypeName = null;
public ActivityValidatorAttribute(Type validatorType)
{
if (validatorType != null)
this.validatorTypeName = validatorType.AssemblyQualifiedName;
}
public ActivityValidatorAttribute(string validatorTypeName)
{
this.validatorTypeName = validatorTypeName;
}
public string ValidatorTypeName
{
get
{
return this.validatorTypeName;
}
}
}
#endregion
}
// 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
- SchemaAttDef.cs
- IPPacketInformation.cs
- CodeTypeMember.cs
- arc.cs
- InkCanvasSelectionAdorner.cs
- Listbox.cs
- FixedPosition.cs
- OdbcException.cs
- SqlClientWrapperSmiStreamChars.cs
- ProcessModelSection.cs
- TransactionContextManager.cs
- ColumnResult.cs
- PseudoWebRequest.cs
- AutomationElement.cs
- RelatedView.cs
- DataServiceQueryProvider.cs
- AppSettingsReader.cs
- XamlSerializerUtil.cs
- BrowserDefinition.cs
- ScaleTransform.cs
- DesignTimeTemplateParser.cs
- CodeObjectCreateExpression.cs
- ReservationCollection.cs
- ProfileProvider.cs
- Crypto.cs
- SortDescriptionCollection.cs
- WindowsGrip.cs
- Pipe.cs
- ToolStripContentPanelRenderEventArgs.cs
- DecimalKeyFrameCollection.cs
- CompoundFileStreamReference.cs
- HostingEnvironment.cs
- SpellerError.cs
- XmlSchemaGroupRef.cs
- SponsorHelper.cs
- DataShape.cs
- DiscoveryClientProtocol.cs
- ProjectionPlan.cs
- StringDictionary.cs
- Behavior.cs
- ListViewGroupConverter.cs
- DataListAutoFormat.cs
- ObjectStateManagerMetadata.cs
- OdbcHandle.cs
- NamespaceDisplayAutomationPeer.cs
- ValuePattern.cs
- PersonalizationEntry.cs
- Transform3D.cs
- HitTestParameters.cs
- SchemaType.cs
- FlowchartDesignerCommands.cs
- MappingItemCollection.cs
- ECDiffieHellmanCngPublicKey.cs
- ObjectItemLoadingSessionData.cs
- ReceiveActivityValidator.cs
- CopyAttributesAction.cs
- EventManager.cs
- ControlBuilder.cs
- XmlSchemaChoice.cs
- InputLanguageProfileNotifySink.cs
- WmlValidatorAdapter.cs
- MulticastIPAddressInformationCollection.cs
- PackagePart.cs
- UnsafeNativeMethods.cs
- LinqDataSourceHelper.cs
- RegistryExceptionHelper.cs
- AuthStoreRoleProvider.cs
- SystemUdpStatistics.cs
- XAMLParseException.cs
- CatalogPartChrome.cs
- QilStrConcat.cs
- x509utils.cs
- DependencyPropertyKey.cs
- AnimatedTypeHelpers.cs
- DataGridLinkButton.cs
- XmlDataProvider.cs
- ItemContainerGenerator.cs
- RangeValuePattern.cs
- ConfigurationPermission.cs
- Tracking.cs
- RemoteX509Token.cs
- selecteditemcollection.cs
- QuaternionKeyFrameCollection.cs
- ExpressionTextBox.xaml.cs
- XsltLoader.cs
- SignedXmlDebugLog.cs
- BitmapEffectDrawing.cs
- ExplicitDiscriminatorMap.cs
- PrintPreviewGraphics.cs
- LiteralControl.cs
- EntityParameterCollection.cs
- ConfigXmlDocument.cs
- PingOptions.cs
- BasicBrowserDialog.designer.cs
- BitStream.cs
- DeferredBinaryDeserializerExtension.cs
- QilReplaceVisitor.cs
- altserialization.cs
- EncoderFallback.cs
- EmptyControlCollection.cs