C# Класс Hyves.Service.EventsService

Represents the service APIs that allow access to information on Hyves event.
Показать файл Открыть проект

Открытые методы

Метод Описание
AddPresence ( string eventId, HyvesEventPrecenseVisibility visibility ) : bool

Adds user presence to event. This corresponds to the event.addPresence Hyves method.

GetEvents ( Collection eventIds ) : Collection

Gets the desired information about the specified event. This corresponds to the events.get Hyves method.

GetEvents ( Collection eventIds, HyvesEventResponsefield responsefields, bool useFancyLayout ) : Collection

Gets the desired information about the specified event. This corresponds to the events.get Hyves method.

GetEventsByHub ( string hubId, bool inFuture, HyvesEventResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

Gets the desired events from the specified hub. This corresponds to the events.getByHub Hyves method.

GetEventsByLoggedin ( bool inFuture, HyvesEventResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

Gets the desired events from the loggedin user. This corresponds to the events.getByLoggedin Hyves method.

GetEventsByUserPresent ( string userId, HyvesEventResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection

Gets the desired events from the specified user. This corresponds to the events.getByUser Hyves method.

GetPresence ( string eventId ) : Collection

Gets the desired information about the presence. This corresponds to the events.getPresence Hyves method.

GetPresenceForFriends ( string eventId ) : Collection

Gets the desired information about the presence. This corresponds to the events.getPresenceForFriends Hyves method.

Приватные методы

Метод Описание
ConvertResponsefieldsToString ( HyvesEventResponsefield responsefields ) : string
EventsService ( HyvesSession session ) : System

Описание методов

AddPresence() публичный Метод

Adds user presence to event. This corresponds to the event.addPresence Hyves method.
public AddPresence ( string eventId, HyvesEventPrecenseVisibility visibility ) : bool
eventId string The identifier of the event.
visibility HyvesEventPrecenseVisibility The visibility of the event presence.
Результат bool

GetEvents() публичный Метод

Gets the desired information about the specified event. This corresponds to the events.get Hyves method.
public GetEvents ( Collection eventIds ) : Collection
eventIds Collection The requested eventIds.
Результат Collection

GetEvents() публичный Метод

Gets the desired information about the specified event. This corresponds to the events.get Hyves method.
public GetEvents ( Collection eventIds, HyvesEventResponsefield responsefields, bool useFancyLayout ) : Collection
eventIds Collection The requested eventIds.
responsefields HyvesEventResponsefield Get extra information from the requested event.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
Результат Collection

GetEventsByHub() публичный Метод

Gets the desired events from the specified hub. This corresponds to the events.getByHub Hyves method.
public GetEventsByHub ( string hubId, bool inFuture, HyvesEventResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection
hubId string The requested hub Id.
inFuture bool Select only events in the future.
responsefields HyvesEventResponsefield Get extra information from the requested event.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
page int The requested page.
resultsPerPage int The number of results per page.
Результат Collection

GetEventsByLoggedin() публичный Метод

Gets the desired events from the loggedin user. This corresponds to the events.getByLoggedin Hyves method.
public GetEventsByLoggedin ( bool inFuture, HyvesEventResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection
inFuture bool Select only events in the future.
responsefields HyvesEventResponsefield Get extra information from the requested event.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
page int The requested page.
resultsPerPage int The number of results per page.
Результат Collection

GetEventsByUserPresent() публичный Метод

Gets the desired events from the specified user. This corresponds to the events.getByUser Hyves method.
public GetEventsByUserPresent ( string userId, HyvesEventResponsefield responsefields, bool useFancyLayout, int page, int resultsPerPage ) : Collection
userId string The requested user Id.
responsefields HyvesEventResponsefield Get extra information from the requested event.
useFancyLayout bool Display information the same way that that is being done on the site, including things like smilies.
page int The requested page.
resultsPerPage int The number of results per page.
Результат Collection

GetPresence() публичный Метод

Gets the desired information about the presence. This corresponds to the events.getPresence Hyves method.
public GetPresence ( string eventId ) : Collection
eventId string
Результат Collection

GetPresenceForFriends() публичный Метод

Gets the desired information about the presence. This corresponds to the events.getPresenceForFriends Hyves method.
public GetPresenceForFriends ( string eventId ) : Collection
eventId string
Результат Collection