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.

The following tables list the members exposed by the BaseXmlPersistence type.

Name Description
Protected constructor BaseXmlPersistence Creates a new BaseXmlPersistence strategy.
Top
Name Description
Public method 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).
Public method Equals (Overloaded) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetType (Overloaded) Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Protected method 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>).
Protected method 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>).
Protected method 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>).
Protected method 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>).
Protected method 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.
Protected method 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>).
Protected method 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>).
Protected method OnFormatEntry Handles the request to format a log entry. (inherited from SingleFormatPersistenceStrategy<TFormattedLogEntry>).
Protected method OnInitializeWith Initializes the persistence strategy with the specified entry source.
Public method Static ReferenceEquals Determines whether the specified Object instances are the same instance. (inherited from Object).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Top
Name Description
Public extension method FromNullable Converts object values to nullable relational data store values. (Defined by Object_ToNullable).
Public extension method GetAttribute Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes).
Public extension method GetAttribute<TAtribute> (Overloaded) Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes).
Public extension method GetAttributes Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes).
Public extension method GetAttributes<TAtribute> (Overloaded) Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes).
Public extension method ToNullable<T> Converts nullable relational data store values to Nullable<T>. (Defined by Object_ToNullable).
Top