Пример #1
0
        public EncodeWorkerTest()
        {
            var serviceProvider = DI.GetServiceProvider();

            _encodeWorker = serviceProvider.GetService <IEncodeWorker>();
        }
Пример #2
0
 public MultilineEncodeWorker(IEncodeWorker encodeWorker)
 {
     _encodeWorker = encodeWorker;
 }