public RepositoryService(IRestApiService apiService, IContentConverterService converter, GuardService guard)
 {
     Converter  = converter ?? throw new ArgumentNullException(nameof(converter));
     ApiService = apiService ?? throw new ArgumentNullException(nameof(apiService));
     Guard      = guard ?? throw new ArgumentNullException(nameof(guard));
 }
Ejemplo n.º 2
0
 public ContentConverterService(ConverterTemplates converterTemplates, GuardService guardService)
 {
     Templates = converterTemplates ?? throw new ArgumentNullException(nameof(converterTemplates));
     Guard     = guardService ?? throw new ArgumentNullException(nameof(guardService));
 }