C# Class SenseNet.Messaging.NotificationHandler

ファイルを表示 Open project: maxpavlov/FlexNet Class Usage Examples

Public Methods

Method Description
GenerateMessages ( NotificationFrequency freq, System.DateTime now ) : void

Private Methods

Method Description
AcquireLock ( double timeframe ) : bool
Cleanup ( NotificationFrequency freq, System.DateTime now ) : void
CollectEventsPerSubscription ( NotificationFrequency freq, System.DateTime now ) : IEnumerable
GatherConfigsForSubscription ( Subscription subscription, NotificationConfig>.Dictionary configs ) : void
GenerateMessage ( Subscription subscription, NotificationConfig>.Dictionary configs ) : Message
GenerateMessages ( IEnumerable subscriptions ) : void
GenerateMessagesForConfig ( Subscription subscription, NotificationConfig>.Dictionary configs ) : IEnumerable
GetContentUrl ( string sitePath, string siteUrl, string contentPath ) : string
GetEventTemplate ( MessageTemplate template, NotificationType notificationType ) : string
GetUnknownFrequencyException ( NotificationFrequency freq ) : Exception
HasPermission ( Subscription subscription, Event @event ) : bool
InsertLock ( double timeframe ) : bool
IsRelatedPath ( string eventPath, string subscriptionPath ) : bool
NotifTimerDisposed ( object sender, EventArgs e ) : void
NotifTimerElapsed ( object sender, System e ) : void
RefreshLock ( double timeframe ) : void
ReleaseLock ( ) : void
ReplaceParameters ( string template, Subscription subscription ) : string
ReplaceParameters ( string template, string sitePath, string siteUrl, Event @event, CultureInfo cultureInfo ) : string
StartNotificationSystem ( ) : bool
TimerTick ( System.DateTime now ) : void
TimerTick ( System.DateTime now, NotificationFrequency freq ) : void
UpdateLock ( Synchronization oldLock, double timeframe ) : bool

Method Details

GenerateMessages() public static method

public static GenerateMessages ( NotificationFrequency freq, System.DateTime now ) : void
freq NotificationFrequency
now System.DateTime
return void