C# Class Orchard.Messaging.Services.DefaultMessageManager

Inheritance: IMessageManager
Exibir arquivo Open project: ucdavis/Orchard

Public Methods

Method Description
DefaultMessageManager ( IMessageEventHandler messageEventHandler, IEnumerable channels ) : System
GetAvailableChannelServices ( ) : IEnumerable
HasChannels ( ) : bool
Send ( ContentItemRecord recipient, string type, string service, string>.Dictionary properties = null ) : void
Send ( IEnumerable recipients, string type, string service, string>.Dictionary properties = null ) : void
Send ( IEnumerable recipientAddresses, string type, string service, string>.Dictionary properties = null ) : void

Private Methods

Method Description
PrepareAndSend ( string type, string>.Dictionary properties, Orchard.Messaging.Models.MessageContext context ) : void

Method Details

DefaultMessageManager() public method

public DefaultMessageManager ( IMessageEventHandler messageEventHandler, IEnumerable channels ) : System
messageEventHandler IMessageEventHandler
channels IEnumerable
return System

GetAvailableChannelServices() public method

public GetAvailableChannelServices ( ) : IEnumerable
return IEnumerable

HasChannels() public method

public HasChannels ( ) : bool
return bool

Send() public method

public Send ( ContentItemRecord recipient, string type, string service, string>.Dictionary properties = null ) : void
recipient ContentItemRecord
type string
service string
properties string>.Dictionary
return void

Send() public method

public Send ( IEnumerable recipients, string type, string service, string>.Dictionary properties = null ) : void
recipients IEnumerable
type string
service string
properties string>.Dictionary
return void

Send() public method

public Send ( IEnumerable recipientAddresses, string type, string service, string>.Dictionary properties = null ) : void
recipientAddresses IEnumerable
type string
service string
properties string>.Dictionary
return void