/// <summary> /// Initializes a new instance of <see cref="MergeRunner"/>. /// </summary> /// <param name="module">The main module of the assembly to process.</param> /// <param name="callback">An implementation of <see cref="IMergeCallback"/> that is /// used to notify the caller about processed files.</param> /// <param name="assemblyFilePath">The path to the assembly that contains <paramref name="module"/>.</param> public MergeRunner(ModuleDefinition module, IMergeCallback callback, string assemblyFilePath) { Contract.Requires(module != null); Contract.Requires(callback != null); Contract.Requires(assemblyFilePath != null); this.module = module; this.callback = callback; this.assemblyFilePath = assemblyFilePath; }
/// <summary> /// Initializes a new instance of <see cref="MergeFeather"/>. /// </summary> /// <param name="callback">An implementation of <see cref="IMergeCallback"/> that is /// used to notify the caller about processed files.</param> public MergeFeather(IMergeCallback callback) { this.callback = callback; }