Exemplo n.º 1
0
 public YamlFileStubSource(
     IFileService fileService,
     ILogger <YamlFileStubSource> logger,
     IOptions <SettingsModel> options,
     IStubModelValidator stubModelValidator)
 {
     _fileService        = fileService;
     _logger             = logger;
     _stubModelValidator = stubModelValidator;
     _settings           = options.Value;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructs an <see cref="UpdateStubCommandHandler"/> instance.
 /// </summary>
 public UpdateStubCommandHandler(IStubContext stubContext, IStubModelValidator stubModelValidator)
 {
     _stubContext        = stubContext;
     _stubModelValidator = stubModelValidator;
 }