PageRenderTime 162ms CodeModel.GetById 81ms app.highlight 1ms RepoModel.GetById 79ms app.codeStats 0ms

/src/LinFu.Reflection.Emit/Interfaces/ITypeBuilder.cs

http://github.com/philiplaureano/LinFu
C# | 19 lines | 8 code | 1 blank | 10 comment | 0 complexity | 2cef59ab7f3f701684ef8195a97603cb MD5 | raw file
 1using Mono.Cecil;
 2
 3namespace LinFu.Reflection.Emit.Interfaces
 4{
 5    /// <summary>
 6    ///     Represents a type that can construct <see cref="TypeDefinition" />
 7    ///     types.
 8    /// </summary>
 9    public interface ITypeBuilder
10    {
11        /// <summary>
12        ///     Constructs a <paramref name="targetType" /> using
13        ///     the given <see cref="ModuleDefinition" /> instance.
14        /// </summary>
15        /// <param name="module">The module that will hold the actual type.</param>
16        /// <param name="targetType">The type being constructed.</param>
17        void Construct(ModuleDefinition module, TypeDefinition targetType);
18    }
19}