C# 클래스 BrightstarDB.Models.EventFeed.EventFeedService

The event feed service provides the functional capabilities and uses the data model defined.
상속: IEventFeedService
파일 보기 프로젝트 열기: BrightstarDB/EventFeedModel 1 사용 예제들

공개 메소드들

메소드 설명
AssertSubscriber ( string userName, IEnumerable topicsOfInterest ) : void
AssertTopic ( Uri topicId, string label, string description ) : void
EventFeedService ( string storeNane, string connectionString ) : System
GetEventData ( IEvent feedEvent ) : dynamic
GetSubscriberTimeline ( string userName, System.DateTime since ) : IEnumerable

Gets all the events on the subscriber timeline. Optional parameters are since and also how many

GetTopicTimeline ( string topicId, System.DateTime since ) : IEnumerable
RaiseEvent ( string description, System.DateTime when, IEnumerable topicIds, object>.Dictionary eventProperties = null ) : void

Creates a new event and also connects it to all users that are subscribed to any of the topics it is classified by.

RegisterInterest ( string userName, string topicId ) : void
RemoveInterest ( string userName, string topicId ) : void

비공개 메소드들

메소드 설명
GetDynaStore ( ) : BrightstarDB.Dynamic.DynamicStore

메소드 상세

AssertSubscriber() 공개 메소드

public AssertSubscriber ( string userName, IEnumerable topicsOfInterest ) : void
userName string
topicsOfInterest IEnumerable
리턴 void

AssertTopic() 공개 메소드

public AssertTopic ( Uri topicId, string label, string description ) : void
topicId System.Uri
label string
description string
리턴 void

EventFeedService() 공개 메소드

public EventFeedService ( string storeNane, string connectionString ) : System
storeNane string
connectionString string
리턴 System

GetEventData() 공개 메소드

public GetEventData ( IEvent feedEvent ) : dynamic
feedEvent IEvent
리턴 dynamic

GetSubscriberTimeline() 공개 메소드

Gets all the events on the subscriber timeline. Optional parameters are since and also how many
public GetSubscriberTimeline ( string userName, System.DateTime since ) : IEnumerable
userName string Gets timeline for user
since System.DateTime Events since this data should be included
리턴 IEnumerable

GetTopicTimeline() 공개 메소드

public GetTopicTimeline ( string topicId, System.DateTime since ) : IEnumerable
topicId string
since System.DateTime
리턴 IEnumerable

RaiseEvent() 공개 메소드

Creates a new event and also connects it to all users that are subscribed to any of the topics it is classified by.
public RaiseEvent ( string description, System.DateTime when, IEnumerable topicIds, object>.Dictionary eventProperties = null ) : void
description string Event description
when System.DateTime Date when the event occured
topicIds IEnumerable A list of the topic ids that classify this event
eventProperties object>.Dictionary A name value collection of all event properties
리턴 void

RegisterInterest() 공개 메소드

public RegisterInterest ( string userName, string topicId ) : void
userName string
topicId string
리턴 void

RemoveInterest() 공개 메소드

public RemoveInterest ( string userName, string topicId ) : void
userName string
topicId string
리턴 void