Search Results for

    Show / Hide Table of Contents

    Class SiteService

    Inheritance
    object
    CrudServiceBase<GraphClient>
    SiteService
    Implements
    ICrudService
    Inherited Members
    CrudServiceBase<GraphClient>.client
    CrudServiceBase<GraphClient>.ApiKey
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Microsoft.Graph
    Assembly: Glitch9.AIDevKit.Provider.Microsoft.Graph.dll
    Syntax
    public sealed class SiteService : CrudServiceBase<GraphClient>, ICrudService

    Constructors

    | Edit this page View Source

    SiteService(GraphClient)

    Declaration
    public SiteService(GraphClient client)
    Parameters
    Type Name Description
    GraphClient client

    Methods

    | Edit this page View Source

    ClearCache()

    Declaration
    public void ClearCache()
    | Edit this page View Source

    GetSiteByPathAsync(string, string, bool, CancellationToken)

    Declaration
    public UniTask<Site> GetSiteByPathAsync(string hostname, string sitePath, bool forceRefresh, CancellationToken ct = default)
    Parameters
    Type Name Description
    string hostname
    string sitePath
    bool forceRefresh
    CancellationToken ct
    Returns
    Type Description
    UniTask<Site>
    | Edit this page View Source

    GetSiteByPathAsync(string, string, CancellationToken)

    Declaration
    public UniTask<Site> GetSiteByPathAsync(string hostname, string sitePath, CancellationToken ct = default)
    Parameters
    Type Name Description
    string hostname
    string sitePath
    CancellationToken ct
    Returns
    Type Description
    UniTask<Site>
    | Edit this page View Source

    InvalidateCache(string, string)

    Declaration
    public void InvalidateCache(string hostname, string sitePath)
    Parameters
    Type Name Description
    string hostname
    string sitePath
    | Edit this page View Source

    ListDrivesAsync(string, CancellationToken)

    Declaration
    public UniTask<GraphCollectionResponse<Drive>> ListDrivesAsync(string siteId, CancellationToken ct = default)
    Parameters
    Type Name Description
    string siteId
    CancellationToken ct
    Returns
    Type Description
    UniTask<GraphCollectionResponse<Drive>>

    Implements

    ICrudService

    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