Class RuntimeActivityInfo
Information about the runtime activity.
Inheritance
System.Object
System.Dynamic.DynamicObject
RuntimeActivityInfo
Implements
System.Dynamic.IDynamicMetaObjectProvider
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Kephas.Workflow.Runtime
Assembly: Kephas.Workflow.dll
Syntax
public class RuntimeActivityInfo : RuntimeTypeInfo, IRuntimeTypeInfo, IRuntimeElementInfo, IActivityInfo, ITypeInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Constructors
| Improve this Doc View SourceRuntimeActivityInfo(Type)
Initializes a new instance of the RuntimeActivityInfo class.
Declaration
protected RuntimeActivityInfo(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type. |
Properties
| Improve this Doc View SourceParameters
Gets the method parameters.
Declaration
public IEnumerable<IParameterInfo> Parameters { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IParameterInfo> | The method parameters. |
ReturnType
Gets the return type of the method.
Declaration
public ITypeInfo ReturnType { get; }
Property Value
Type | Description |
---|---|
ITypeInfo | The return type of the method. |
Methods
| Improve this Doc View SourceCreateMemberInfos(Action<IDictionary<String, IRuntimeElementInfo>>)
Creates the member infos.
Declaration
protected override IDictionary<string, IRuntimeElementInfo> CreateMemberInfos(Action<IDictionary<string, IRuntimeElementInfo>> membersConfig = null)
Parameters
Type | Name | Description |
---|---|---|
System.Action<System.Collections.Generic.IDictionary<System.String, IRuntimeElementInfo>> | membersConfig | Optional. The members configuration. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, IRuntimeElementInfo> | The new member infos. |
Overrides
| Improve this Doc View SourceCreateParameterInfos(Type)
Creates the parameters.
Declaration
protected virtual IDictionary<string, IRuntimeParameterInfo> CreateParameterInfos(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The container type. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, IRuntimeParameterInfo> | A dictionary of parameters. |
CreatePropertyInfos(Type, Func<PropertyInfo, Boolean>)
Creates the properties.
Declaration
protected override IDictionary<string, IRuntimePropertyInfo> CreatePropertyInfos(Type type, Func<PropertyInfo, bool> criteria = null)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The container type. |
System.Func<System.Reflection.PropertyInfo, System.Boolean> | criteria | Optional. The criteria. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, IRuntimePropertyInfo> | A dictionary of properties. |
Overrides
| Improve this Doc View SourceExecuteAsync(IActivity, Object, IExpando, IActivityContext, CancellationToken)
Executes the activity asynchronously.
Declaration
public virtual Task<object> ExecuteAsync(IActivity activity, object target, IExpando arguments, IActivityContext context, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
IActivity | activity | The activity to execute. |
System.Object | target | The activity target. |
IExpando | arguments | The execution arguments. |
IActivityContext | context | The execution context. |
System.Threading.CancellationToken | cancellationToken | Optional. The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Object> | An asynchronous result that yields the output. |
Implements
System.Dynamic.IDynamicMetaObjectProvider