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

Targets

public string[] Targets { get; set; }

Property Value

string[]

Methods

Match(MethodInfo)

public bool Match(MethodInfo method)

Parameters

method MethodInfo

Returns

bool