C# Class MeetingManager.HttpGraphService

Inheritance: IGraphService
Datei anzeigen Open project: OfficeDev/Interop-REST-Mail-Contacts-Calendar-Sample Class Usage Examples

Public Methods

Method Description
AcceptOrDecline ( string eventId, string action, string comment, bool send ) : System.Threading.Tasks.Task
AddEventAttachment ( string eventId, FileAttachment attachment ) : Task
CancelEvent ( string eventId ) : System.Threading.Tasks.Task
CreateEvent ( Meeting meeting ) : Task
CreateInvitationResponse ( Meeting meeting, string action ) : Task
DeleteDraftMessage ( string messageId ) : System.Threading.Tasks.Task
DeleteDriveItem ( string id ) : System.Threading.Tasks.Task
DeleteEventAttachment ( string eventId, string attachmentId ) : System.Threading.Tasks.Task
FindMeetingTimes ( Meeting meeting ) : Task>
GetCalendarEvents ( DateTimeOffset startDate, DateTimeOffset endDate ) : Task>
GetContactPhoto ( string contactId ) : Task
GetContacts ( int pageIndex, int pageSize ) : Task>
GetContactsCount ( ) : Task
GetDriveItemContent ( string id ) : Task
GetDriveItems ( string folderId, int pageIndex, int pageSize ) : Task>
GetEvent ( string eventId ) : Task
GetEventAttachments ( string eventId, int pageIndex, int pageSize ) : Task>
GetUser ( ) : Task
GetUserPager ( int pageSize, string filter, bool getHumans ) : IUserPager
HttpGraphService ( IAuthenticationService authenticationService, Logger logger ) : MeetingManager.Models
UpdateAndSendMessage ( Message message ) : Task
UpdateEvent ( Meeting meeting ) : Task

Private Methods

Method Description
AddTimeStamp ( StringBuilder sb, Meeting meeting ) : void
BuildCalendarUri ( DateTimeOffset startDate, DateTimeOffset endDate ) : string
BuildFilter ( StringBuilder sb, Meeting meeting ) : void
BuildInvitationsUri ( Meeting meeting ) : string
BuildRequestBody ( Meeting meeting ) : MeetingTimes
BuildResponseUri ( string messageId, string action ) : string
GetEventInvitation ( Meeting meeting ) : Task
GetHttpHelper ( ) : HttpHelper

Method Details

AcceptOrDecline() public method

public AcceptOrDecline ( string eventId, string action, string comment, bool send ) : System.Threading.Tasks.Task
eventId string
action string
comment string
send bool
return System.Threading.Tasks.Task

AddEventAttachment() public method

public AddEventAttachment ( string eventId, FileAttachment attachment ) : Task
eventId string
attachment FileAttachment
return Task

CancelEvent() public method

public CancelEvent ( string eventId ) : System.Threading.Tasks.Task
eventId string
return System.Threading.Tasks.Task

CreateEvent() public method

public CreateEvent ( Meeting meeting ) : Task
meeting Meeting
return Task

CreateInvitationResponse() public method

public CreateInvitationResponse ( Meeting meeting, string action ) : Task
meeting Meeting
action string
return Task

DeleteDraftMessage() public method

public DeleteDraftMessage ( string messageId ) : System.Threading.Tasks.Task
messageId string
return System.Threading.Tasks.Task

DeleteDriveItem() public method

public DeleteDriveItem ( string id ) : System.Threading.Tasks.Task
id string
return System.Threading.Tasks.Task

DeleteEventAttachment() public method

public DeleteEventAttachment ( string eventId, string attachmentId ) : System.Threading.Tasks.Task
eventId string
attachmentId string
return System.Threading.Tasks.Task

FindMeetingTimes() public method

public FindMeetingTimes ( Meeting meeting ) : Task>
meeting Meeting
return Task>

GetCalendarEvents() public method

public GetCalendarEvents ( DateTimeOffset startDate, DateTimeOffset endDate ) : Task>
startDate DateTimeOffset
endDate DateTimeOffset
return Task>

GetContactPhoto() public method

public GetContactPhoto ( string contactId ) : Task
contactId string
return Task

GetContacts() public method

public GetContacts ( int pageIndex, int pageSize ) : Task>
pageIndex int
pageSize int
return Task>

GetContactsCount() public method

public GetContactsCount ( ) : Task
return Task

GetDriveItemContent() public method

public GetDriveItemContent ( string id ) : Task
id string
return Task

GetDriveItems() public method

public GetDriveItems ( string folderId, int pageIndex, int pageSize ) : Task>
folderId string
pageIndex int
pageSize int
return Task>

GetEvent() public method

public GetEvent ( string eventId ) : Task
eventId string
return Task

GetEventAttachments() public method

public GetEventAttachments ( string eventId, int pageIndex, int pageSize ) : Task>
eventId string
pageIndex int
pageSize int
return Task>

GetUser() public method

public GetUser ( ) : Task
return Task

GetUserPager() public method

public GetUserPager ( int pageSize, string filter, bool getHumans ) : IUserPager
pageSize int
filter string
getHumans bool
return IUserPager

HttpGraphService() public method

public HttpGraphService ( IAuthenticationService authenticationService, Logger logger ) : MeetingManager.Models
authenticationService IAuthenticationService
logger Logger
return MeetingManager.Models

UpdateAndSendMessage() public method

public UpdateAndSendMessage ( Message message ) : Task
message MeetingManager.Models.Message
return Task

UpdateEvent() public method

public UpdateEvent ( Meeting meeting ) : Task
meeting Meeting
return Task