ActivityMetadata Struct

Definition

Represents the set of arguments, child activities, variables, and delegates that a configured Activity introduces to the execution environment.

public value class ActivityMetadata
public struct ActivityMetadata
type ActivityMetadata = struct
Public Structure ActivityMetadata
Inheritance
ActivityMetadata

Properties

Environment

Gets the activity's LocationReferenceEnvironment of arguments, variables, delegate arguments, or symbols introduced by a SymbolResolver.

HasViolations

Gets a value that indicates whether there are any validation errors in the metadata.

Methods

AddArgument(RuntimeArgument)

Adds an argument to the collection of arguments of an activity.

AddDefaultExtensionProvider<T>(Func<T>)

Adds the specified extension provider to the collection of default extension providers for the activity.

AddImportedChild(Activity)

Adds the specified activity to the metadata's list of imported child activities.

AddImportedChild(Activity, Object)

Adds the specified activity to the metadata's list of imported child activities.

AddImportedDelegate(ActivityDelegate)

Adds the specified delegate to the metadata's list of imported delegates.

AddImportedDelegate(ActivityDelegate, Object)

Adds the specified delegate to the metadata's list of imported delegates.

AddValidationError(String)

Adds a validation error to the metadata's collection of validation errors using the specified description.

AddValidationError(ValidationError)

Adds the specified validation error to the metadata's collection of validation errors.

AddVariable(Variable)

Adds the specified variable to the metadata's collection of variables.

AddVariable(Variable, Object)

Adds the specified variable to the metadata's collection of variables.

Bind(Argument, RuntimeArgument)

Binds the specified Argument to the specified RuntimeArgument.

Equals(Object)

Determines whether the specified object is equal to this metadata instance.

GetArgumentsWithReflection()

Returns a collection of arguments obtained by using reflection.

GetHashCode()

Returns a unique identifier for this metadata instance.

GetImportedChildrenWithReflection()

Returns a collection of imported child activities using reflection.

GetImportedDelegatesWithReflection()

Returns a collection of delegates using reflection.

GetVariablesWithReflection()

Returns a collection of variables using reflection.

RequireExtension(Type)

Specifies that the activity requires an extension of the specified type at runtime.

RequireExtension<T>()

Specifies that the activity requires an extension of the specified generic type at runtime.

SetArgumentsCollection(Collection<RuntimeArgument>)

Adds the specified collection of arguments to the activity's arguments.

SetImportedChildrenCollection(Collection<Activity>)

Adds the specified collection as imported child activities of the activity.

SetImportedDelegatesCollection(Collection<ActivityDelegate>)

Adds the specified collection as imported delegates of the activity.

SetValidationErrorsCollection(Collection<ValidationError>)

Adds the specified collection of validation errors to the metadata's collection of validation errors.

SetVariablesCollection(Collection<Variable>)

Adds the specified collection of variables to the activity's variables.

Operators

Equality(ActivityMetadata, ActivityMetadata)

Returns a value that indicates whether the two specified metadata instances are equal.

Inequality(ActivityMetadata, ActivityMetadata)

Returns a value that indicates whether the two specified metadata instances are not equal.

Applies to