C# Class SaaSOvation.Collaboration.Application.Calendars.CalendarApplicationService

Mostrar archivo Open project: eulerfx/IDDD_Samples_NET

Public Methods

Method Description
CalendarApplicationService ( ICalendarRepository calendarRepository, ICalendarEntryRepository calendarEntryRepository, ICollaboratorService collaboratorService ) : System
ChangeCalendarDescription ( string tenantId, string calendarId, string description ) : void
CreateCalendar ( string tenantId, string name, string description, string ownerId, ISet participantsToShareWith, ICalendarCommandResult calendarCommandResult ) : void
RenameCalendar ( string tenantId, string calendarId, string name ) : void
ScheduleCalendarEntry ( string tenantId, string calendarId, string description, string location, string ownerId, System.DateTime timeSpanBegins, System.DateTime timeSpanEnds, string repeatType, System.DateTime repeatEndsOn, string alarmType, int alarmUnits, ISet participantsToInvite, ICalendarCommandResult calendarCommandResult ) : void
ShareCalendarWith ( string tenantId, string calendarId, ISet participantsToShareWith ) : void
UnshareCalendarWith ( string tenantId, string calendarId, ISet participantsToShareWith ) : void

Private Methods

Method Description
GetInviteesFrom ( SaaSOvation.Collaboration.Domain.Model.Tenants.Tenant tenant, ISet participantsToInvite ) : ISet
GetSharersFrom ( SaaSOvation.Collaboration.Domain.Model.Tenants.Tenant tenant, ISet participantsToShareWith ) : ISet

Method Details

CalendarApplicationService() public method

public CalendarApplicationService ( ICalendarRepository calendarRepository, ICalendarEntryRepository calendarEntryRepository, ICollaboratorService collaboratorService ) : System
calendarRepository ICalendarRepository
calendarEntryRepository ICalendarEntryRepository
collaboratorService ICollaboratorService
return System

ChangeCalendarDescription() public method

public ChangeCalendarDescription ( string tenantId, string calendarId, string description ) : void
tenantId string
calendarId string
description string
return void

CreateCalendar() public method

public CreateCalendar ( string tenantId, string name, string description, string ownerId, ISet participantsToShareWith, ICalendarCommandResult calendarCommandResult ) : void
tenantId string
name string
description string
ownerId string
participantsToShareWith ISet
calendarCommandResult ICalendarCommandResult
return void

RenameCalendar() public method

public RenameCalendar ( string tenantId, string calendarId, string name ) : void
tenantId string
calendarId string
name string
return void

ScheduleCalendarEntry() public method

public ScheduleCalendarEntry ( string tenantId, string calendarId, string description, string location, string ownerId, System.DateTime timeSpanBegins, System.DateTime timeSpanEnds, string repeatType, System.DateTime repeatEndsOn, string alarmType, int alarmUnits, ISet participantsToInvite, ICalendarCommandResult calendarCommandResult ) : void
tenantId string
calendarId string
description string
location string
ownerId string
timeSpanBegins System.DateTime
timeSpanEnds System.DateTime
repeatType string
repeatEndsOn System.DateTime
alarmType string
alarmUnits int
participantsToInvite ISet
calendarCommandResult ICalendarCommandResult
return void

ShareCalendarWith() public method

public ShareCalendarWith ( string tenantId, string calendarId, ISet participantsToShareWith ) : void
tenantId string
calendarId string
participantsToShareWith ISet
return void

UnshareCalendarWith() public method

public UnshareCalendarWith ( string tenantId, string calendarId, ISet participantsToShareWith ) : void
tenantId string
calendarId string
participantsToShareWith ISet
return void