C# Class Monobjc.Tools.Generators.ManagedReferenceCollector

Mostrar archivo Open project: Monobjc/monobjc-tools Class Usage Examples

Public Methods

Method Description
Collect ( String assembly ) : IEnumerable

Collect the dependencies of the main assembly.

ManagedReferenceCollector ( ) : System

Initializes a new instance of the ManagedReferenceCollector class.

Private Methods

Method Description
Collect ( String assembly, string>.IDictionary assemblies, IEnumerable directories ) : bool

Collects the dependencies of the specified assembly.

Collect ( Assembly assembly, string>.IDictionary assemblies, IEnumerable directories ) : void

Collects the dependencies of the specified assembly.

ComputeSearchDirectories ( String assembly ) : IEnumerable

Compute the search directories. Append the main assembly directory and the GAC folder.

GetDependencies ( Assembly assembly ) : IEnumerable

Gets the dependencies of the assembly.

LoadAssembly ( String nameOrFile, IEnumerable directories ) : Assembly

Try to load the assembly in every search directories.

Method Details

Collect() public method

Collect the dependencies of the main assembly.
public Collect ( String assembly ) : IEnumerable
assembly String
return IEnumerable

ManagedReferenceCollector() public method

Initializes a new instance of the ManagedReferenceCollector class.
public ManagedReferenceCollector ( ) : System
return System