コード例 #1
0
        public ContentTransformerService(IUnityContainer container, IContentSourceService contentSourceService, IContentTransformerStorage contentTransformerStorage)
        {
            _container                 = container;
            _contentSourceService      = contentSourceService;
            _contentTransformerStorage = contentTransformerStorage;

            _transformerProcessors = new Dictionary <int, TransformerProcessor>();
        }
コード例 #2
0
 public TransformerProcessor(IContentTransformerStorage storage, IContentTransformer transformer, IContentSource source)
 {
     _storage               = storage;
     _transformer           = transformer;
     _source                = source;
     _source.SourceChanged += SourceChanged;
     _source.Start();
 }
コード例 #3
0
 public TransformerController(IContentTransformerService transformerService, IContentTransformerStorage storage)
 {
     _transformerService = transformerService;
     _storage            = storage;
 }