Class DependencyProperty
A special kind of property that can be defined or attached to a Activity. This class cannot be inherited.
Inheritance
System.Object
DependencyProperty
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.WorkflowCompatibility
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
[Obsolete("This class is no longer used. Using ActivityFlowContextProperty attribute instead. Will remain at least until October 2016.")]
public sealed class DependencyProperty
Properties
Name
Gets the name of property.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
OwnerType
Gets the type of property's owner.
Declaration
public Type OwnerType { get; }
Property Value
Type | Description |
---|---|
System.Type |
PropertyType
Gets the type of property.
Declaration
public Type PropertyType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
Register(String, Type, Type)
Registers a dependency property for an activity.
Declaration
public static DependencyProperty Register(string name, Type propertyType, Type ownerType)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of property. |
System.Type | propertyType | Type of property. |
System.Type | ownerType | Type of property's owner. |
Returns
Type | Description |
---|---|
DependencyProperty | Intance of DependencyProperty class. |