C# Class MeetingManager.SDKGraphService

Inheritance: IGraphService
Mostra file Open project: OfficeDev/Interop-REST-Mail-Contacts-Calendar-Sample

Public Methods

Method Description
AcceptOrDecline ( string eventId, string action, string comment, bool sendResponse = true ) : System.Threading.Tasks.Task
AddEventAttachment ( string eventId, MeetingManager.Models fileAttachment ) : 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
SDKGraphService ( IAuthenticationService authenticationService, Logger logger ) : System
UpdateAndSendMessage ( MeetingManager.Models message ) : Task
UpdateEvent ( Meeting meeting ) : Task

Private Methods

Method Description
AddTimeStamp ( StringBuilder sb, Meeting meeting ) : void
BuildFilter ( Meeting meeting ) : string
GetEventInvitation ( Meeting meeting ) : Task

Method Details

AcceptOrDecline() public method

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

AddEventAttachment() public method

public AddEventAttachment ( string eventId, MeetingManager.Models fileAttachment ) : Task
eventId string
fileAttachment MeetingManager.Models
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

SDKGraphService() public method

public SDKGraphService ( IAuthenticationService authenticationService, Logger logger ) : System
authenticationService IAuthenticationService
logger Logger
return System

UpdateAndSendMessage() public method

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

UpdateEvent() public method

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