A base class that uses an XML file to concretely implement the handling of AlmanacController entry writing requests.
If the underlying XML file exists the new entries are appended at the end of the file, otherwise a new file is created.
This persistence strategy implements a unified method to write log entry to the underlying plan text file, but let subclasses to define its
own formatting mechanism.
Top
Top
Top
The following tables list the members exposed by the BaseXmlPersistence type.
Name | Description | |
---|---|---|
BaseXmlPersistence | Creates a new BaseXmlPersistence 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 writing the string-formatted log entry to the underlying XML file, this inversion control method handles the request to persist a formatted log entry to the 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 | Handles the request to format a log entry. (inherited from SingleFormatPersistenceStrategy<TFormattedLogEntry>). | |
OnInitializeWith | Initializes the persistence strategy with the specified entry source. | |
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). |