public ThumbnailGenerationEgg()
 {
     collectionFactory = new CollectionFactory();
      var streamFactory = new StreamFactory();
      var processProxy = new ProcessProxy();
      threadingProxy = new ThreadingProxy(new ThreadingFactory(), new SynchronizationFactory());
      pofContext = new PofContext().With(x => {
     x.MergeContext(new ManagementPofContext());
     x.MergeContext(new ThumbnailGeneratorApiPofContext());
      });
      pofSerializer = new PofSerializer(pofContext);
      networkingProxy = new NetworkingProxy(new SocketFactory(new TcpEndPointFactory(new DnsProxy()), new NetworkingInternalFactory(threadingProxy, streamFactory)), new TcpEndPointFactory(new DnsProxy()));
      thumbnailGeneratorService = new ThumbnailGeneratorServiceImpl();
 }
        public ThumbnailGenerationEgg()
        {
            collectionFactory = new CollectionFactory();
            var streamFactory = new StreamFactory();
            var processProxy  = new ProcessProxy();

            threadingProxy = new ThreadingProxy(new ThreadingFactory(), new SynchronizationFactory());
            pofContext     = new PofContext().With(x => {
                x.MergeContext(new ManagementPofContext());
                x.MergeContext(new ThumbnailGeneratorApiPofContext());
            });
            pofSerializer             = new PofSerializer(pofContext);
            networkingProxy           = new NetworkingProxy(new SocketFactory(new TcpEndPointFactory(new DnsProxy()), new NetworkingInternalFactory(threadingProxy, streamFactory)), new TcpEndPointFactory(new DnsProxy()));
            thumbnailGeneratorService = new ThumbnailGeneratorServiceImpl();
        }
 public ThumbnailGenerationMob(ThumbnailGeneratorService thumbnailGeneratorService) {
    this.thumbnailGeneratorService = thumbnailGeneratorService;
 }
示例#4
0
 public ThumbnailGenerationMob(ThumbnailGeneratorService thumbnailGeneratorService)
 {
     this.thumbnailGeneratorService = thumbnailGeneratorService;
 }