Craig's Utility Library  4.0 Beta
Utilities.IO.Messaging.Interfaces.IMessage Interface Reference

Message interface More...

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

Public Member Functions

Task Send< T > (T Model)
 Sends a message More...
 
Task Send ()
 Sends a message More...
 

Properties

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 interface

Definition at line 29 of file IMessage.cs.

Member Function Documentation

Task Utilities.IO.Messaging.Interfaces.IMessage.Send ( )

Sends a message

Returns
The async task

Implemented in Utilities.IO.Messaging.BaseClasses.MessageBase.

Sends a message

Template Parameters
TModel type
Parameters
ModelModel object
Returns
The async task

Implemented in Utilities.IO.Messaging.BaseClasses.MessageBase.

Type Constraints
T :class 

Property Documentation

string Utilities.IO.Messaging.Interfaces.IMessage.Body
getset

Body of the text (may be combined with the model object if one is supplied)

Definition at line 34 of file IMessage.cs.

string Utilities.IO.Messaging.Interfaces.IMessage.From
getset

Whom the message is from

Definition at line 39 of file IMessage.cs.

string Utilities.IO.Messaging.Interfaces.IMessage.Subject
getset

The subject of the message

Definition at line 44 of file IMessage.cs.

string Utilities.IO.Messaging.Interfaces.IMessage.To
getset

Whom the message is to

Definition at line 49 of file IMessage.cs.


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