Uses an SMTP channel to concretely implement the handling of AlmanacController entry writing requests. This persistence strategy offers unified
formatting and persistence methods for any kind of log entry.
Top
Top
Top
The following tables list the members exposed by the EmailPersistence type.
Name | Description | |
---|---|---|
EmailPersistence | Creates a new EmailPersistence strategy. |
Name | Description | |
---|---|---|
Add |
Decorates and routes log entry adding requests, to the underlying channel or media.
This inversion of control method is responsible of the delegation of the concrete persistence handling, to a method OnAddXxx implemented by
the subclasses of this PersistenceStrategy.
(inherited from PersistenceStrategy).
|
|
Equals | (Overloaded) Determines whether the specified object is equal to the current object. (inherited from Object). | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
GetHashCode | Serves as the default hash function. (inherited from Object). | |
GetType | (Overloaded) Gets the Type of the current instance. (inherited from Object). | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
OnAddAlert |
By invoking the AddFormattedEntry(LogEntry) method with the alert and the literal "Alert" as argument values, handles the delegation of concretely persist
an Alert log entry to the underlying channel or media.
(inherited from SingleFormatPersistenceStrategy<TFormattedLogEntry>).
|
|
OnAddDebug |
By invoking the AddFormattedEntry(LogEntry) method with the debug and the literal "Debug" as argument values, handles the delegation of concretely persist
a Debug log entry to the underlying channel or media.
(inherited from SingleFormatPersistenceStrategy<TFormattedLogEntry>).
|
|
OnAddError |
By invoking the AddFormattedEntry(LogEntry) method with the error and the literal "Error" as argument values, handles the delegation of concretely persist
an Error log entry to the underlying channel or media.
(inherited from SingleFormatPersistenceStrategy<TFormattedLogEntry>).
|
|
OnAddFatalError |
By invoking the AddFormattedEntry(LogEntry) method with the fatalError and the literal "Fatal Error" as argument values, handles the delegation of concretely
persist a FatalError log entry to the underlying channel or media.
(inherited from SingleFormatPersistenceStrategy<TFormattedLogEntry>).
|
|
OnAddFormattedEntry | (Overloaded) By sending an email message with the string formatted log entry as body, this inversion control method handles the request to persist a formatted log entry to the underlying channel or media. | |
OnAddInformation |
By invoking the AddFormattedEntry(LogEntry) method with the information and the literal "Information" as argument values, handles the delegation of concretely
persist an Information log entry to the underlying channel or media.
(inherited from SingleFormatPersistenceStrategy<TFormattedLogEntry>).
|
|
OnAddTrace |
By invoking the AddFormattedEntry(LogEntry) method with the trace and the literal "Trace" as argument values, handles the delegation of concretely persist
a Trace log entry to the underlying channel or media.
(inherited from SingleFormatPersistenceStrategy<TFormattedLogEntry>).
|
|
OnFormatEntry | By transforming the log entry to a string that represents the email message body, this inversion control method handles the request to format a log entry. | |
OnInitializeWith | Handles the request to initialize the persistence strategy with the specified entry source. (inherited from PersistenceStrategy). | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object). | |
ToString | Returns a string that represents the current object. (inherited from Object). |
Name | Description | |
---|---|---|
FromNullable | Converts object values to nullable relational data store values. (Defined by Object_ToNullable). | |
GetAttribute | Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). | |
GetAttribute<TAtribute> | (Overloaded) Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). | |
GetAttributes | Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). | |
GetAttributes<TAtribute> | (Overloaded) Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). | |
ToNullable<T> | Converts nullable relational data store values to Nullable<T>. (Defined by Object_ToNullable). |