/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
- using Mono.Cecil;
- namespace LinFu.Reflection.Emit.Interfaces
- {
- /// <summary>
- /// Represents a type that can construct <see cref="TypeDefinition" />
- /// types.
- /// </summary>
- public interface ITypeBuilder
- {
- /// <summary>
- /// Constructs a <paramref name="targetType" /> using
- /// the given <see cref="ModuleDefinition" /> instance.
- /// </summary>
- /// <param name="module">The module that will hold the actual type.</param>
- /// <param name="targetType">The type being constructed.</param>
- void Construct(ModuleDefinition module, TypeDefinition targetType);
- }
- }