Class RequestTypeExtensions
Extension methods for the RequestType enum
Inheritance
System.Object
RequestTypeExtensions
Namespace: MESL.SqlRace.Enumerators
Assembly: MESL.SqlRace.Enumerators.dll
Syntax
public static class RequestTypeExtensions : Object
Methods
IsSamplesRequest(RequestType)
Whether the request wants real samples returned as-is, rather than data resampled or aggregated for it.
Declaration
public static bool IsSamplesRequest(this RequestType requestType)
Parameters
| Type | Name | Description |
|---|---|---|
| RequestType | requestType | The request type to check |
Returns
| Type | Description |
|---|---|
| System.Boolean | True for Samples and FunctionSamples; false otherwise |