Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DiffOperation"/> class.
 /// </summary>
 /// <param name="dataProvider">the data provider.</param>
 /// <param name="diffProxy">the diff command proxy.</param>
 /// <param name="logger">The logger factory.</param>
 public DiffOperation(
     IDataProvider dataProvider,
     IDiffProxy diffProxy,
     ILogger <DiffOperation> logger)
 {
     this.dataProvider = dataProvider;
     this.diffProxy    = diffProxy;
     this.fileOperator = this.dataProvider.FileOperator;
     this.logger       = logger;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DiffOperation"/> class.
 /// </summary>
 /// <param name="dataProvider">the data provider.</param>
 /// <param name="diffProxy">the diff command proxy.</param>
 public DiffOperation(IDataProvider dataProvider, IDiffProxy diffProxy)
     : this(dataProvider, diffProxy, NullLogger <DiffOperation> .Instance)
 {
 }