Craig's Utility Library  4.0 Beta
Utilities.IO.Messaging.BaseClasses.MessageBase Class Reference

Message base More...

Inheritance diagram for Utilities.IO.Messaging.BaseClasses.MessageBase:
Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass Utilities.IO.Messaging.Interfaces.IMessage Utilities.IO.EmailMessage

Public Member Functions

virtual Task Send< T > (T Model=default(T))
 Send a message More...
 
virtual Task Send ()
 Send a message More...
 
- Public Member Functions inherited from Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass
void Dispose ()
 Dispose function More...
 

Protected Member Functions

 MessageBase (IMessagingSystem MessagingSystem)
 Constructor More...
 
- Protected Member Functions inherited from Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass
 SafeDisposableBaseClass ()
 Construct More...
 
abstract void Dispose (bool Managed)
 Function to override in order to dispose objects More...
 

Properties

string Body [get, set]
 Body of the text More...
 
string From [get, set]
 Whom the message is from More...
 
string Subject [get, set]
 The subject of the Communicator More...
 
string To [get, set]
 Whom the message is to More...
 
- Properties inherited from Utilities.IO.Messaging.Interfaces.IMessage
string Body [get, set]
 Body of the text (may be combined with the model object if one is supplied) More...
 
string From [get, set]
 Whom the message is from More...
 
string Subject [get, set]
 The subject of the message More...
 
string To [get, set]
 Whom the message is to More...
 

Detailed Description

Message base

Definition at line 31 of file MessageBase.cs.

Constructor & Destructor Documentation

Utilities.IO.Messaging.BaseClasses.MessageBase.MessageBase ( IMessagingSystem  MessagingSystem)
protected

Constructor

Parameters
MessagingSystemMessaging system used to create the message

Definition at line 37 of file MessageBase.cs.

Member Function Documentation

virtual Task Utilities.IO.Messaging.BaseClasses.MessageBase.Send ( )
virtual

Send a message

Returns
The async task object

Implements Utilities.IO.Messaging.Interfaces.IMessage.

Definition at line 83 of file MessageBase.cs.

virtual Task Utilities.IO.Messaging.BaseClasses.MessageBase.Send< T > ( Model = default(T))
virtual

Send a message

Template Parameters
TModel type
Parameters
ModelModel object
Returns
The async task object

Implements Utilities.IO.Messaging.Interfaces.IMessage.

Type Constraints
T :class 

Definition at line 73 of file MessageBase.cs.

Property Documentation

string Utilities.IO.Messaging.BaseClasses.MessageBase.Body
getset

Body of the text

Definition at line 45 of file MessageBase.cs.

string Utilities.IO.Messaging.BaseClasses.MessageBase.From
getset

Whom the message is from

Definition at line 50 of file MessageBase.cs.

string Utilities.IO.Messaging.BaseClasses.MessageBase.Subject
getset

The subject of the Communicator

Definition at line 55 of file MessageBase.cs.

string Utilities.IO.Messaging.BaseClasses.MessageBase.To
getset

Whom the message is to

Definition at line 60 of file MessageBase.cs.


The documentation for this class was generated from the following file: