Table of Contents

Class TargetedAttribute

Namespace
BenchmarkDotNet.Attributes
Assembly
BenchmarkDotNet.Annotations.dll

Base class for attributes that are targeted at one or more method(s)

public abstract class TargetedAttribute : Attribute
Inheritance
TargetedAttribute
Derived
Inherited Members

Constructors

TargetedAttribute()

protected TargetedAttribute()

Properties

Target

Target method for attribute

public string Target { get; set; }

Property Value

string
Base class for attributes that are targeted at one or more method(s)

Targets

public string[] Targets { get; set; }

Property Value

string[]
Base class for attributes that are targeted at one or more method(s)

Methods

Match(MethodInfo)

public bool Match(MethodInfo method)

Parameters

method MethodInfo
Base class for attributes that are targeted at one or more method(s)

Returns

bool
Base class for attributes that are targeted at one or more method(s)