Interface IEventService
This IService helps with retrieving all or a particular IEventSettings.
Namespace: IdleKit.Framework
Assembly: cs.temp.dll.dll
Syntax
public interface IEventService : IService, IInjectable
Methods
GetAllEventSettings()
Returns a list of all IEventSettingss.
Declaration
IEventSettings[] GetAllEventSettings()
Returns
Type | Description |
---|---|
IEventSettings[] |
GetEventContentId(String)
Returns the id for a given IEventContentData's with the . The mapping is performed via the eventContentId and uniqueEventContentId. If no mapping exists, null is returned.
Declaration
string GetEventContentId(string uniqueEventContentId)
Parameters
Type | Name | Description |
---|---|---|
String | uniqueEventContentId |
Returns
Type | Description |
---|---|
String |
GetEventSettings(String)
Returns the IEventSettings associated with the
Declaration
IEventSettings GetEventSettings(string uniqueEventContentId)
Parameters
Type | Name | Description |
---|---|---|
String | uniqueEventContentId |
Returns
Type | Description |
---|---|
IEventSettings |
GetUniqueEventContentIds(String)
Returns an array of uniqueEventContentId for a given . The mapping is performed via the eventContentId and uniqueEventContentId. If no mapping exists, null is returned.
Declaration
string[] GetUniqueEventContentIds(string contentId)
Parameters
Type | Name | Description |
---|---|---|
String | contentId |
Returns
Type | Description |
---|---|
String[] |
Remarks
The uniqueEventContentId is usually used to instantiate the IEventContent. When retrieving a IEventContent via the IEntityResolver this value should be used.