Show / Hide Table of Contents

Interface IActivityInfo

Contract interface for activity metadata.

Inherited Members
ITypeInfo.Namespace
ITypeInfo.QualifiedFullName
ITypeInfo.BaseTypes
ITypeInfo.GenericTypeParameters
ITypeInfo.GenericTypeArguments
ITypeInfo.GenericTypeDefinition
ITypeInfo.Properties
ITypeInfo.Members
ITypeInfo.GetMember(String, Boolean)
ITypeInfo.CreateInstance(IEnumerable<Object>)
ITypeInfo.MakeGenericType(IEnumerable<ITypeInfo>, IContext)
IElementInfo.Name
IElementInfo.FullName
IElementInfo.Annotations
IElementInfo.DeclaringContainer
IExpando.HasDynamicMember(String)
IExpando.ToDictionary(Func<String, String>, Func<Object, Object>)
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
IIndexable.Item[String]
IAttributeProvider.GetAttributes<TAttribute>()
Namespace: Kephas.Workflow.Reflection
Assembly: Kephas.Workflow.dll
Syntax
public interface IActivityInfo : ITypeInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider

Properties

| Improve this Doc View Source

Parameters

Gets the method parameters.

Declaration
IEnumerable<IParameterInfo> Parameters { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<IParameterInfo>

The method parameters.

| Improve this Doc View Source

ReturnType

Gets the return type of the method.

Declaration
ITypeInfo ReturnType { get; }
Property Value
Type Description
ITypeInfo

The return type of the method.

Methods

| Improve this Doc View Source

ExecuteAsync(IActivity, Object, IExpando, IActivityContext, CancellationToken)

Executes the activity asynchronously.

Declaration
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.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
RuntimeTypeInfoExtensions.IsExcludedFromModel(IAttributeProvider)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX