This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensions.Calendar.Extensibility.Api.Version1.IEvents>()
and is defined in Telligent.Evolution.Calendar.dll
Events
CalendarEventEvents.AfterCancel
Handler
void EventAfterCancelEventHandler(CalendarEventAfterCancelEventArgs e);
CalendarEventEvents.AfterCreate
Handler
void EventAfterCreateEventHandler(CalendarEventAfterCreateEventArgs e);
CalendarEventEvents.AfterDelete
Handler
void EventAfterDeleteEventHandler(CalendarEventAfterDeleteEventArgs e);
CalendarEventEvents.AfterUpdate
Handler
void EventAfterUpdateEventHandler(CalendarEventAfterUpdateEventArgs e);
CalendarEventEvents.BeforeDelete
Handler
void EventBeforeDeleteEventHandler(CalendarEventBeforeDeleteEventArgs e);
Methods
Event Create(string title, string description, string location, DateTime start, DateTime end);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
title | string | Title | Required | ||
description | string | Description | Required | ||
location | string | Location | Required | ||
start | DateTime | Start | Required | ||
end | DateTime | End | Required |
Return Type
Event
Event Create(string title, EventsCreateOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
title | string | Title | Required | ||
options | EventsCreateOptions | Options | Required |
Return Type
Event
Event Delete(int id, EventsDeleteOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Id | Required | ||
options | EventsDeleteOptions | Options | Required |
Return Type
Event
void Feature(int eventId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
eventId | int | Event Id | Required |
bool HasEventPermission(int eventId, Guid permission);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
eventId | int | Event Id | Required | ||
permission | Guid | Permission | Required |
Return Type
bool
bool IsFeatured(int eventId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
eventId | int | Event Id | Required |
Return Type
bool
PagedList<Event> List(EventsListOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | EventsListOptions | Options | Required |
Return Type
PagedList<Event>
Event Show(EventsShowOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | EventsShowOptions | Options | Required |
Return Type
Event
void UnFeature(int eventId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
eventId | int | Event Id | Required |
Event Update(int id, EventsUpdateOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Id | Required | ||
options | EventsUpdateOptions | Options | Required |
Return Type
Event