Method Get
Get<TEnum>(TEnum)
Get the sampler for the corresponding enumeration value.
Declaration
public static ProfilingSampler Get<TEnum>(TEnum marker) where TEnum : Enum
Parameters
| Type | Name | Description | 
|---|---|---|
| TEnum | marker | Enumeration value.  | 
    
Returns
| Type | Description | 
|---|---|
| ProfilingSampler | The profiling sampler for the given enumeration value.  | 
    
Type Parameters
| Name | Description | 
|---|---|
| TEnum | Type of the enumeration.  |