Class TargetedAttribute
Base class for attributes that are targeted at one or more method(s)
Inheritance
TargetedAttribute
Inherited Members
Namespace: BenchmarkDotNet.Attributes
Assembly: BenchmarkDotNet.Annotations.dll
Syntax
public abstract class TargetedAttribute : Attribute
Properties
Target
Target method for attribute
Declaration
public string Target { get; set; }
Property Value
Type | Description |
---|---|
String |
Targets
Declaration
public string[] Targets { get; set; }
Property Value
Type | Description |
---|---|
String[] |
Methods
Match(MethodInfo)
Declaration
public bool Match(MethodInfo method)
Parameters
Type | Name | Description |
---|---|---|
MethodInfo | method |
Returns
Type | Description |
---|---|
Boolean |