Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RetrieveService"/> class.
 /// </summary>
 /// <param name="fileDiffContext">The instance of the <see cref="FileDiffContext"/>.</param>
 public RetrieveService(FileDiffContext fileDiffContext)
 {
     this.context = fileDiffContext;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UploadService"/> class.
 /// </summary>
 /// <param name="fileDiffContext">The instance of the <see cref="FileDiffContext"/>.</param>
 public UploadService(FileDiffContext fileDiffContext)
 {
     this.context = fileDiffContext;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DiffService"/> class.
 /// </summary>
 /// <param name="fileDiffContext">The instance of the <see cref="FileDiffContext"/>.</param>
 public DiffService(FileDiffContext fileDiffContext)
 {
     this.context = fileDiffContext;
 }
Пример #4
0
 public void Init()
 {
     AppDomain.CurrentDomain.SetData("DataDirectory", System.IO.Directory.GetCurrentDirectory());
     AutoMapperServiceLayerConfiguration.Configure();
     this.context = new FileDiffContext();
 }