C# Class Machine.Specifications.Explorers.AssemblyExplorer

Show file Open project: machine/machine.specifications Class Usage Examples

Public Methods

Method Description
AssemblyExplorer ( ) : System
FindAssemblyContextsIn ( Assembly assembly ) : IEnumerable
FindAssemblyWideContextCleanupsIn ( Assembly assembly ) : IEnumerable
FindContexts ( FieldInfo info ) : Context
FindContexts ( Type type ) : Context
FindContextsIn ( Assembly assembly ) : IEnumerable
FindContextsIn ( Assembly assembly, string targetNamespace ) : IEnumerable
FindSpecificationSupplementsIn ( Assembly assembly ) : IEnumerable

Private Methods

Method Description
CreateContextFrom ( Type type ) : Context
CreateContextFrom ( Type type, FieldInfo fieldInfo ) : Context
EnumerateContextsIn ( Assembly assembly ) : IEnumerable
HasSpecificationMembers ( Type type ) : bool
IsContext ( Type type ) : bool

Method Details

AssemblyExplorer() public method

public AssemblyExplorer ( ) : System
return System

FindAssemblyContextsIn() public method

public FindAssemblyContextsIn ( Assembly assembly ) : IEnumerable
assembly System.Reflection.Assembly
return IEnumerable

FindAssemblyWideContextCleanupsIn() public method

public FindAssemblyWideContextCleanupsIn ( Assembly assembly ) : IEnumerable
assembly System.Reflection.Assembly
return IEnumerable

FindContexts() public method

public FindContexts ( FieldInfo info ) : Context
info System.Reflection.FieldInfo
return Machine.Specifications.Model.Context

FindContexts() public method

public FindContexts ( Type type ) : Context
type System.Type
return Machine.Specifications.Model.Context

FindContextsIn() public method

public FindContextsIn ( Assembly assembly ) : IEnumerable
assembly System.Reflection.Assembly
return IEnumerable

FindContextsIn() public method

public FindContextsIn ( Assembly assembly, string targetNamespace ) : IEnumerable
assembly System.Reflection.Assembly
targetNamespace string
return IEnumerable

FindSpecificationSupplementsIn() public method

public FindSpecificationSupplementsIn ( Assembly assembly ) : IEnumerable
assembly System.Reflection.Assembly
return IEnumerable