Search Results for

    Show / Hide Table of Contents

    Class ApiQuery

    ApiQuery is the base class for an API call. HttpMethod must be GET or POST RequestUri is the full API URL with any parameters added in as "@ParameterName" these parameters will be substututed later for actual values. Body is an optional parameter that can be used on POST calls.

    Inheritance
    object
    ApiQuery
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.ApiConnector.Models
    Assembly: LemonEdge.ApiConnector.dll
    Syntax
    public class ApiQuery

    Constructors

    ApiQuery(HttpMethod, Uri, HttpContent?)

    Declaration
    public ApiQuery(HttpMethod httpMethod, Uri requestUri, HttpContent? body = null)
    Parameters
    Type Name Description
    HttpMethod httpMethod
    Uri requestUri
    HttpContent body

    Properties

    Body

    Declaration
    public HttpContent? Body { get; }
    Property Value
    Type Description
    HttpContent

    HttpMethod

    Declaration
    public HttpMethod HttpMethod { get; }
    Property Value
    Type Description
    HttpMethod

    RequestUri

    Declaration
    public Uri RequestUri { get; }
    Property Value
    Type Description
    Uri

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.