Search Results for

    Show / Hide Table of Contents

    Class CognitiveServiceRequestBase<T>

    Inheritance
    object
    CognitiveServiceRequestBase<T>
    DocumentAnalysisRequest
    ImageAnalysisRequest
    SegmentImageRequest
    Implements
    IValidatable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Microsoft.Azure
    Assembly: Glitch9.AIDevKit.Provider.Microsoft.Azure.dll
    Syntax
    public abstract class CognitiveServiceRequestBase<T> : IValidatable where T : IRequestParameterProvider
    Type Parameters
    Name Description
    T

    Properties

    | Edit this page View Source

    Data

    Declaration
    public BinaryPayload Data { get; set; }
    Property Value
    Type Description
    BinaryPayload
    | Edit this page View Source

    Query

    Declaration
    public T Query { get; set; }
    Property Value
    Type Description
    T
    | Edit this page View Source

    Url

    Declaration
    public string Url { get; set; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    IsValid()

    Declaration
    public virtual bool IsValid()
    Returns
    Type Description
    bool
    | Edit this page View Source

    Validate()

    Validates the object's parameters and throws if invalid.

    Declaration
    public virtual void Validate()

    Implements

    IValidatable

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation