C# Class Castle.ActiveRecord.Framework.Internal.AssemblyXmlGenerator

Generate xml from assembly level attributes. This is useful if we need to have type-less configuration, such as imports, named queries, etc.
Datei anzeigen Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
AssemblyXmlGenerator ( ) : System.Collections

Create a new instnace

CreateXmlConfigurations ( Assembly assembly ) : string[]

Generate XML from assembly attributes. If it can't find relevant attributes, returns null.

Private Methods

Method Description
AppendImport ( ImportAttribute attribute ) : void
AppendNamedQuery ( HqlNamedQueryAttribute attribute, Assembly assembly ) : void
Reset ( ) : void

Reset this generator and prepare to generate xml from new assembly.

Method Details

AssemblyXmlGenerator() public method

Create a new instnace
public AssemblyXmlGenerator ( ) : System.Collections
return System.Collections

CreateXmlConfigurations() public method

Generate XML from assembly attributes. If it can't find relevant attributes, returns null.
public CreateXmlConfigurations ( Assembly assembly ) : string[]
assembly System.Reflection.Assembly
return string[]