StateAttribute Class
Indicates that a property or parameter should be injected with a value from the State of the WorkItem.
Namespace: Microsoft.Practices.CompositeUI
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Property Or AttributeTargets.Parameter, AllowMultiple:=False, Inherited:=True)> _
Public NotInheritable Class StateAttribute
Inherits ParameterAttribute
'Usage
Dim instance As StateAttribute
[AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public sealed class StateAttribute : ParameterAttribute
[AttributeUsageAttribute(AttributeTargets::Property|AttributeTargets::Parameter, AllowMultiple=false, Inherited=true)]
public ref class StateAttribute sealed : public ParameterAttribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Parameter, AllowMultiple=false, Inherited=true) */
public final class StateAttribute extends ParameterAttribute
AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)
public final class StateAttribute extends ParameterAttribute
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.Practices.ObjectBuilder.ParameterAttribute
Microsoft.Practices.CompositeUI.StateAttribute
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
StateAttribute Members
Microsoft.Practices.CompositeUI Namespace