PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/LinFu.AOP/Interfaces/IInstructionEmitter.cs

http://github.com/philiplaureano/LinFu
C# | 16 lines | 8 code | 1 blank | 7 comment | 0 complexity | 14196a443df247078009793b198e05cb MD5 | raw file
 1using Mono.Cecil.Cil;
 2
 3namespace LinFu.AOP.Cecil.Interfaces
 4{
 5    /// <summary>
 6    ///     Represents a type that is capable of manipulating instructions within a given method body.
 7    /// </summary>
 8    public interface IInstructionEmitter
 9    {
10        /// <summary>
11        ///     Emits a set of instructions to the given <paramref name="IL">CilWorker</paramref>.
12        /// </summary>
13        /// <param name="IL">The <see cref="ILProcessor" /> responsible for the target method body.</param>
14        void Emit(ILProcessor IL);
15    }
16}