/// <summary> /// Initializes a new instance of the <see cref="LogInjectionRunner"/> class. /// </summary> /// <param name="module">The module to feather.</param> /// <param name="callback">The callback object to use for progress notifications.</param> public LogInjectionRunner(ModuleDefinition module, ILogInjectionCallback callback) { Contract.Requires(module != null); Contract.Requires(callback != null); this.module = module; this.callback = callback; }
/// <summary> /// Initializes a new instance of the <see cref="LogInjectionFeather"/> class. /// </summary> /// <param name="callback">An implementation of <see cref="ILogInjectionCallback"/> that is /// used to notify the caller about feathered types and properties.</param> public LogInjectionFeather(ILogInjectionCallback callback) { this.callback = callback; }