NativeActivityMetadata NativeActivityMetadata NativeActivityMetadata NativeActivityMetadata Struct

定義

表示由設定的 NativeActivity 導入至執行環境的引數、子活動、變數及委派之集合。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
繼承
NativeActivityMetadataNativeActivityMetadataNativeActivityMetadataNativeActivityMetadata

屬性

Environment Environment Environment Environment

取得活動之引數、變數、委派引數的 LocationReferenceEnvironment,或由 SymbolResolver 導入的符號。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.

方法

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)

將指定的 Argument 繫結至指定的 RuntimeArgumentBinds 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.

運算子

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.

適用於