This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensions.Calendar.Extensibility.Api.Version1.ICalendars>()
and is defined in Telligent.Evolution.Calendar.dll
Events
Events.AfterCreate
Handler
void CalendarAfterCreateEventHandler(CalendarAfterCreateEventArgs e);
Events.AfterDelete
Handler
void CalendarAfterDeleteEventHandler(CalendarAfterDeleteEventArgs e);
Events.AfterUpdate
Handler
void CalendarAfterUpdateEventHandler(CalendarAfterUpdateEventArgs e);
Events.BeforeCreate
Handler
void CalendarBeforeCreateEventHandler(CalendarBeforeCreateEventArgs e);
Events.BeforeDelete
Handler
void CalendarBeforeDeleteEventHandler(CalendarBeforeDeleteEventArgs e);
Events.BeforeUpdate
Handler
void CalendarBeforeUpdateEventHandler(CalendarBeforeUpdateEventArgs e);
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
ApplicationTypeId | Guid | |||
ContentTypeId | Guid | |||
Current | Calendar | |||
TotalLicensedRemaining | int |
Methods
Calendar Create(int groupId, string name, string description);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
groupId | int | Group Id | Required | ||
name | string | Name | Required | ||
description | string | Description | Required |
Return Type
Calendar
Calendar Create(int groupId, string name, string description, CalendarsCreateOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
groupId | int | Group Id | Required | ||
name | string | Name | Required | ||
description | string | Description | Required | ||
options | CalendarsCreateOptions | Options | Required |
Return Type
Calendar
Calendar Delete(int id, CalendarsDeleteOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Id | Required | ||
options | CalendarsDeleteOptions | Options | Required |
Return Type
Calendar
ApiList<Feature> GetFeaturedContent(FeaturedContentOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | FeaturedContentOptions | Options | Required |
Return Type
PagedList<Tag> GetTags(int id);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Id | Required |
Return Type
bool HasCalendarPermission(int calendarId, Guid permission);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
calendarId | int | Calendar Id | Required | ||
permission | Guid | Permission | Required |
Return Type
bool
PagedList<Calendar> List(CalendarsListOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | CalendarsListOptions | Options | Required |
Return Type
PagedList<Calendar>
Calendar Show(CalendarsShowOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | CalendarsShowOptions | Options | Required |
Return Type
Calendar
Calendar Update(int id, CalendarsUpdateOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Id | Required | ||
options | CalendarsUpdateOptions | Options | Required |
Return Type
Calendar