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.
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

Create a new instnace
public AssemblyXmlGenerator ( ) : System.Collections
Résultat System.Collections

CreateXmlConfigurations() public méthode

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