RuleAttributeTarget 枚举

定义

指定 RuleReadAttributeRuleWriteAttribute 中的路径是否适用于方法参数或 thisSpecifies whether the path in a RuleReadAttribute or RuleWriteAttribute is for a method parameter, or this.

public enum class RuleAttributeTarget
public enum RuleAttributeTarget
type RuleAttributeTarget = 
Public Enum RuleAttributeTarget
继承
RuleAttributeTarget

字段

Parameter 0

指定路径是以参数名称开始的绝对路径,后面可以跟随到内部成员的路径。Specifies the path is an absolute path beginning with a parameter name, which optionally can be followed by a path to an inner member.

This 1

指定路径是以标记 this 开始的相对路径或绝对路径。Specifies the path is a relative or absolute path, beginning with the token this.

注解

用于 RuleReadAttributeRuleWriteAttribute 类。Use with the RuleReadAttribute and RuleWriteAttribute classes.

适用于