public TableWriterForSerializer(ITableReaderWriter <T> internalReaderWriter, IDtoConverter <TDto, T> converter, IDtoSerializer <TDto> serializer) { this.internalReaderWriter = internalReaderWriter; this.converter = converter; this.serializer = serializer; this.isLoaded = false; }
public TicketController(IAppContext context, ITicketTypeManager typeMan, ITicketLogger tickLog, ICommentManager comManage, ITicketManager tikMan, IUserManager userMan, IDtoConverter dtoConver, IHtmlValidator htmlValid) { db = context; typeManager = typeMan; ticketLogger = tickLog; commentManager = comManage; ticketManager = tikMan; userManager = userMan; dtoConverter = dtoConver; htmlValidator = htmlValid; }
public TableListener(ILogger logger, string adapter, string channel, string topic, int phase, IJsonSerializer serializer) { _logger = logger; _serializer = serializer; _messageConverter = new DtoConverter <TDto>(_serializer, _logger); _adapter = adapter; _channel = channel; _phase = phase; _topic = topic; }
public PowerDataAccess(IPowerService powerService, IDtoConverter dtoConverter) { _powerService = powerService; _dtoConverter = dtoConverter; }
public UploadController(IUploadService service, IDtoConverter converter, ILogger <UploadController> logger) { _service = service ?? throw new ArgumentNullException(nameof(service)); _converter = converter ?? throw new ArgumentNullException(nameof(converter)); _logger = logger; }