CompositeActivityValidator 类
定义
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
ActivityValidator 的派生类,它是所有复合活动验证程序组件的基类。Derivative of ActivityValidator that is the base class for all composite activity validator components.
public ref class CompositeActivityValidator : System::Workflow::ComponentModel::Compiler::ActivityValidator
public class CompositeActivityValidator : System.Workflow.ComponentModel.Compiler.ActivityValidator
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public class CompositeActivityValidator : System.Workflow.ComponentModel.Compiler.ActivityValidator
type CompositeActivityValidator = class
inherit ActivityValidator
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type CompositeActivityValidator = class
inherit ActivityValidator
Public Class CompositeActivityValidator
Inherits ActivityValidator
- 继承
- 派生
- 属性
注解
备注
本材料讨论的类型和命名空间已废弃不用。This material discusses types and namespaces that are obsolete. 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型。For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
该类为 CompositeActivity 提供验证逻辑。The class provides validation logic for a CompositeActivity.
构造函数
| CompositeActivityValidator() |
初始化 CompositeActivityValidator 类的新实例。Initializes a new instance of the CompositeActivityValidator class. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetFullPropertyName(ValidationManager) |
可提取完整属性名的帮助器方法。Helper method to extract the full property name. (继承自 Validator) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |
| Validate(ValidationManager, Object) |
验证 CompositeActivity 配置。Validates the CompositeActivity configuration. |
| ValidateActivityChange(Activity, ActivityChangeAction) |
根据受影响的 Activity 验证该更改并提供错误。Validates the change based on the affected Activity and provides the error. |
| ValidateProperties(ValidationManager, Object) |
自动验证特定对象属性的帮助器方法。Helper method to automatically validate the specific objects properties. (继承自 Validator) |
| ValidateProperty(PropertyInfo, Object, Object, ValidationManager) |
对属性执行验证并返回包含验证结果的 ValidationErrorCollection。Performs validation on a property and returns a ValidationErrorCollection that contains the results of that validation. (继承自 Validator) |