Search Results for

    Show / Hide Table of Contents

    Class CalendarService

    Inheritance
    object
    CrudServiceBase<GraphClient>
    CalendarService
    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 CalendarService : CrudServiceBase<GraphClient>, ICrudService

    Constructors

    | Edit this page View Source

    CalendarService(GraphClient)

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

    Methods

    | Edit this page View Source

    CreateEventAsync(string, CalendarEvent, CancellationToken)

    Declaration
    public UniTask<CalendarEvent> CreateEventAsync(string calendarId, CalendarEvent payload, CancellationToken ct = default)
    Parameters
    Type Name Description
    string calendarId
    CalendarEvent payload
    CancellationToken ct
    Returns
    Type Description
    UniTask<CalendarEvent>
    | Edit this page View Source

    DeleteEventAsync(string, string, CancellationToken)

    Declaration
    public UniTask DeleteEventAsync(string calendarId, string eventId, CancellationToken ct = default)
    Parameters
    Type Name Description
    string calendarId
    string eventId
    CancellationToken ct
    Returns
    Type Description
    UniTask
    | Edit this page View Source

    GetEventAsync(string, string, bool, CancellationToken)

    Declaration
    public UniTask<CalendarEvent> GetEventAsync(string calendarId, string eventId, bool includeBody, CancellationToken ct = default)
    Parameters
    Type Name Description
    string calendarId
    string eventId
    bool includeBody
    CancellationToken ct
    Returns
    Type Description
    UniTask<CalendarEvent>
    | Edit this page View Source

    GetScheduleAsync(CalendarScheduleRequest, CancellationToken)

    Declaration
    public UniTask<GraphCollectionResponse<CalendarScheduleItem>> GetScheduleAsync(CalendarScheduleRequest request, CancellationToken ct = default)
    Parameters
    Type Name Description
    CalendarScheduleRequest request
    CancellationToken ct
    Returns
    Type Description
    UniTask<GraphCollectionResponse<CalendarScheduleItem>>
    | Edit this page View Source

    ListCalendarViewAsync(string, DateTimeOffset, DateTimeOffset, int, bool, bool, CancellationToken)

    Declaration
    public UniTask<GraphCollectionResponse<CalendarEvent>> ListCalendarViewAsync(string calendarId, DateTimeOffset startUtc, DateTimeOffset endUtc, int pageSize, bool includeCancelled, bool includeBody, CancellationToken ct = default)
    Parameters
    Type Name Description
    string calendarId
    DateTimeOffset startUtc
    DateTimeOffset endUtc
    int pageSize
    bool includeCancelled
    bool includeBody
    CancellationToken ct
    Returns
    Type Description
    UniTask<GraphCollectionResponse<CalendarEvent>>
    | Edit this page View Source

    ListCalendarsAsync(int, CancellationToken)

    Declaration
    public UniTask<GraphCollectionResponse<CalendarItem>> ListCalendarsAsync(int pageSize, CancellationToken ct = default)
    Parameters
    Type Name Description
    int pageSize
    CancellationToken ct
    Returns
    Type Description
    UniTask<GraphCollectionResponse<CalendarItem>>
    | Edit this page View Source

    RespondAsync(string, string, string, bool, CancellationToken)

    Declaration
    public UniTask RespondAsync(string eventId, string action, string comment, bool sendResponse, CancellationToken ct = default)
    Parameters
    Type Name Description
    string eventId
    string action
    string comment
    bool sendResponse
    CancellationToken ct
    Returns
    Type Description
    UniTask
    | Edit this page View Source

    UpdateEventAsync(string, string, CalendarEvent, CancellationToken)

    Declaration
    public UniTask<CalendarEvent> UpdateEventAsync(string calendarId, string eventId, CalendarEvent patch, CancellationToken ct = default)
    Parameters
    Type Name Description
    string calendarId
    string eventId
    CalendarEvent patch
    CancellationToken ct
    Returns
    Type Description
    UniTask<CalendarEvent>

    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