C# 클래스 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.
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
AppendImport ( ImportAttribute attribute ) : void
AppendNamedQuery ( HqlNamedQueryAttribute attribute, Assembly assembly ) : void
Reset ( ) : void

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

메소드 상세

AssemblyXmlGenerator() 공개 메소드

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

CreateXmlConfigurations() 공개 메소드

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