Class DataContractQuery<T>
Abstract class for the telemetry query
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: STAIExtensions.Abstractions.Queries
Assembly: STAIExtensions.Abstractions.dll
Syntax
public abstract class DataContractQuery<T> : IDataContractQuery where T : DataContract
Type Parameters
Name | Description |
---|---|
T |
Properties
ContractType
The type of the record returned by the Query
Declaration
public Type ContractType { get; }
Property Value
Type | Description |
---|---|
Type |
Enabled
Gets or sets if the query is enabled
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
QueryParameterData
Gets or sets the additional query data that can be passed to the query to assist in building the query
Declaration
public object QueryParameterData { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
BuildQueryData()
Builds an object that the Telemetry Client has knowledge of to execute the query
Declaration
public abstract object BuildQueryData()
Returns
Type | Description |
---|---|
System.Object |