ActivityMetadata Структура
Определение
public value class ActivityMetadata
public struct ActivityMetadata
type ActivityMetadata = struct
Public Structure ActivityMetadata
- Наследование
Свойства
Environment |
Возвращает среду LocationReferenceEnvironment аргументов, переменных, аргументов делегатов или символов действия, предоставляемых арбитром SymbolResolver.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. |
Методы
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) |
Привязывает указанный аргумент 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. |
Операторы
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. |