NativeActivityMetadata NativeActivityMetadata NativeActivityMetadata NativeActivityMetadata Struct

Definition

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

public value class NativeActivityMetadata
public struct NativeActivityMetadata
type NativeActivityMetadata = struct
Public Structure NativeActivityMetadata
Inheritance
NativeActivityMetadataNativeActivityMetadataNativeActivityMetadataNativeActivityMetadata

Properties

Environment Environment Environment Environment

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

HasViolations HasViolations HasViolations HasViolations

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

Methods

AddArgument(RuntimeArgument) AddArgument(RuntimeArgument) AddArgument(RuntimeArgument) AddArgument(RuntimeArgument)

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

AddChild(Activity) AddChild(Activity) AddChild(Activity) AddChild(Activity)

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

AddChild(Activity, Object) AddChild(Activity, Object) AddChild(Activity, Object) AddChild(Activity, Object)

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

AddDefaultExtensionProvider<T>(Func<T>) AddDefaultExtensionProvider<T>(Func<T>) AddDefaultExtensionProvider<T>(Func<T>) AddDefaultExtensionProvider<T>(Func<T>)

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

AddDelegate(ActivityDelegate) AddDelegate(ActivityDelegate) AddDelegate(ActivityDelegate) AddDelegate(ActivityDelegate)

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

AddDelegate(ActivityDelegate, Object) AddDelegate(ActivityDelegate, Object) AddDelegate(ActivityDelegate, Object) AddDelegate(ActivityDelegate, Object)

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

AddImplementationChild(Activity) AddImplementationChild(Activity) AddImplementationChild(Activity) AddImplementationChild(Activity)

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

AddImplementationDelegate(ActivityDelegate) AddImplementationDelegate(ActivityDelegate) AddImplementationDelegate(ActivityDelegate) AddImplementationDelegate(ActivityDelegate)

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

AddImplementationVariable(Variable) AddImplementationVariable(Variable) AddImplementationVariable(Variable) AddImplementationVariable(Variable)

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

AddImportedChild(Activity, Object) AddImportedChild(Activity, Object) AddImportedChild(Activity, Object) AddImportedChild(Activity, Object)

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

AddImportedChild(Activity) AddImportedChild(Activity) AddImportedChild(Activity) AddImportedChild(Activity)

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

AddImportedDelegate(ActivityDelegate) AddImportedDelegate(ActivityDelegate) AddImportedDelegate(ActivityDelegate) AddImportedDelegate(ActivityDelegate)

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

AddImportedDelegate(ActivityDelegate, Object) AddImportedDelegate(ActivityDelegate, Object) AddImportedDelegate(ActivityDelegate, Object) AddImportedDelegate(ActivityDelegate, Object)

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

AddValidationError(ValidationError) AddValidationError(ValidationError) AddValidationError(ValidationError) AddValidationError(ValidationError)

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

AddValidationError(String) AddValidationError(String) AddValidationError(String) AddValidationError(String)

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

AddVariable(Variable) AddVariable(Variable) AddVariable(Variable) AddVariable(Variable)

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

AddVariable(Variable, Object) AddVariable(Variable, Object) AddVariable(Variable, Object) AddVariable(Variable, Object)

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

Bind(Argument, RuntimeArgument) Bind(Argument, RuntimeArgument) Bind(Argument, RuntimeArgument) Bind(Argument, RuntimeArgument)

Binds the specified Argument to the specified RuntimeArgument.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

GetArgumentsWithReflection() GetArgumentsWithReflection() GetArgumentsWithReflection() GetArgumentsWithReflection()

Returns a collection of arguments obtained by using reflection.

GetChildrenWithReflection() GetChildrenWithReflection() GetChildrenWithReflection() GetChildrenWithReflection()

Returns a collection of child activities using reflection.

GetDelegatesWithReflection() GetDelegatesWithReflection() GetDelegatesWithReflection() GetDelegatesWithReflection()

Returns a collection of delegates using reflection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns a unique identifier for this metadata instance.

GetVariablesWithReflection() GetVariablesWithReflection() GetVariablesWithReflection() GetVariablesWithReflection()

Returns a collection of variables using reflection.

RequireExtension(Type) RequireExtension(Type) RequireExtension(Type) RequireExtension(Type)

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

RequireExtension<T>() RequireExtension<T>() RequireExtension<T>() RequireExtension<T>()

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

SetArgumentsCollection(Collection<RuntimeArgument>) SetArgumentsCollection(Collection<RuntimeArgument>) SetArgumentsCollection(Collection<RuntimeArgument>) SetArgumentsCollection(Collection<RuntimeArgument>)

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

SetChildrenCollection(Collection<Activity>) SetChildrenCollection(Collection<Activity>) SetChildrenCollection(Collection<Activity>) SetChildrenCollection(Collection<Activity>)

Adds the specified collection as child activities of the activity.

SetDelegatesCollection(Collection<ActivityDelegate>) SetDelegatesCollection(Collection<ActivityDelegate>) SetDelegatesCollection(Collection<ActivityDelegate>) SetDelegatesCollection(Collection<ActivityDelegate>)

Adds the specified collection as delegates of the activity.

SetImplementationChildrenCollection(Collection<Activity>) SetImplementationChildrenCollection(Collection<Activity>) SetImplementationChildrenCollection(Collection<Activity>) SetImplementationChildrenCollection(Collection<Activity>)

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

SetImplementationDelegatesCollection(Collection<ActivityDelegate>) SetImplementationDelegatesCollection(Collection<ActivityDelegate>) SetImplementationDelegatesCollection(Collection<ActivityDelegate>) SetImplementationDelegatesCollection(Collection<ActivityDelegate>)

Adds the specified collection as implementation delegates of the activity.

SetImplementationVariablesCollection(Collection<Variable>) SetImplementationVariablesCollection(Collection<Variable>) SetImplementationVariablesCollection(Collection<Variable>) SetImplementationVariablesCollection(Collection<Variable>)

Adds the specified collection as implementation variables of the activity.

SetImportedChildrenCollection(Collection<Activity>) SetImportedChildrenCollection(Collection<Activity>) SetImportedChildrenCollection(Collection<Activity>) SetImportedChildrenCollection(Collection<Activity>)

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

SetImportedDelegatesCollection(Collection<ActivityDelegate>) SetImportedDelegatesCollection(Collection<ActivityDelegate>) SetImportedDelegatesCollection(Collection<ActivityDelegate>) SetImportedDelegatesCollection(Collection<ActivityDelegate>)

Adds the specified collection as imported delegates of the activity.

SetValidationErrorsCollection(Collection<ValidationError>) SetValidationErrorsCollection(Collection<ValidationError>) SetValidationErrorsCollection(Collection<ValidationError>) SetValidationErrorsCollection(Collection<ValidationError>)

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

SetVariablesCollection(Collection<Variable>) SetVariablesCollection(Collection<Variable>) SetVariablesCollection(Collection<Variable>) SetVariablesCollection(Collection<Variable>)

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

Operators

Equality(NativeActivityMetadata, NativeActivityMetadata) Equality(NativeActivityMetadata, NativeActivityMetadata) Equality(NativeActivityMetadata, NativeActivityMetadata) Equality(NativeActivityMetadata, NativeActivityMetadata)

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

Inequality(NativeActivityMetadata, NativeActivityMetadata) Inequality(NativeActivityMetadata, NativeActivityMetadata) Inequality(NativeActivityMetadata, NativeActivityMetadata) Inequality(NativeActivityMetadata, NativeActivityMetadata)

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

Applies to