/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
- using System.Reflection;
- namespace LinFu.Reflection
- {
- /// <summary>
- /// Represents a class that loads assemblies into memory
- /// from disk.
- /// </summary>
- /// <typeparam name="TAssembly"></typeparam>
- public interface IAssemblyLoader<TAssembly>
- {
- /// <summary>
- /// Loads the target assembly into memory.
- /// </summary>
- /// <param name="assemblyFile">The full path and filename of the assembly to load.</param>
- /// <returns>A loaded <see cref="Assembly" /> instance.</returns>
- TAssembly Load(string assemblyFile);
- }
- /// <summary>
- /// Represents a class that loads assemblies into memory
- /// from disk.
- /// </summary>
- public interface IAssemblyLoader : IAssemblyLoader<Assembly>
- {
- }
- }