PageRenderTime 82ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/src/LinFu.Reflection/Interfaces/IAssemblyLoader.cs

http://github.com/philiplaureano/LinFu
C# | 27 lines | 11 code | 2 blank | 14 comment | 0 complexity | 5529c45064d12e5737882513e98f1e5b MD5 | raw file
 1using System.Reflection;
 2
 3namespace LinFu.Reflection
 4{
 5    /// <summary>
 6    ///     Represents a class that loads assemblies into memory
 7    ///     from disk.
 8    /// </summary>
 9    /// <typeparam name="TAssembly"></typeparam>
10    public interface IAssemblyLoader<TAssembly>
11    {
12        /// <summary>
13        ///     Loads the target assembly into memory.
14        /// </summary>
15        /// <param name="assemblyFile">The full path and filename of the assembly to load.</param>
16        /// <returns>A loaded <see cref="Assembly" /> instance.</returns>
17        TAssembly Load(string assemblyFile);
18    }
19
20    /// <summary>
21    ///     Represents a class that loads assemblies into memory
22    ///     from disk.
23    /// </summary>
24    public interface IAssemblyLoader : IAssemblyLoader<Assembly>
25    {
26    }
27}