コード例 #1
0
ファイル: RecoveryManager.cs プロジェクト: lapuinka/naps2
 public RecoveryManager(IFormFactory formFactory, IScannedImageFactory scannedImageFactory, IUserConfigManager userConfigManager, ThreadFactory threadFactory)
 {
     this.formFactory = formFactory;
     this.scannedImageFactory = scannedImageFactory;
     this.userConfigManager = userConfigManager;
     this.threadFactory = threadFactory;
 }
コード例 #2
0
        public DirectImportOperation(ThumbnailRenderer thumbnailRenderer, ThreadFactory threadFactory)
        {
            this.thumbnailRenderer = thumbnailRenderer;
            this.threadFactory = threadFactory;

            AllowCancel = true;
        }
コード例 #3
0
ファイル: DirectImportOperation.cs プロジェクト: v0id24/naps2
        public DirectImportOperation(IUserConfigManager userConfigManager, ThreadFactory threadFactory)
        {
            this.userConfigManager = userConfigManager;
            this.threadFactory = threadFactory;

            AllowCancel = true;
        }
コード例 #4
0
ファイル: ImportOperation.cs プロジェクト: cyanfish/naps2
        public ImportOperation(IScannedImageImporter scannedImageImporter, ThreadFactory threadFactory)
        {
            this.scannedImageImporter = scannedImageImporter;
            this.threadFactory = threadFactory;

            ProgressTitle = MiscResources.ImportProgress;
            AllowCancel = true;
        }
コード例 #5
0
ファイル: WiaScanDriver.cs プロジェクト: cyanfish/naps2
 public WiaScanDriver(BackgroundWiaTransfer backgroundWiaTransfer, ForegroundWiaTransfer foregroundWiaTransfer, ThreadFactory threadFactory, IBlankDetector blankDetector, ThumbnailRenderer thumbnailRenderer)
 {
     this.backgroundWiaTransfer = backgroundWiaTransfer;
     this.foregroundWiaTransfer = foregroundWiaTransfer;
     this.threadFactory = threadFactory;
     this.blankDetector = blankDetector;
     this.thumbnailRenderer = thumbnailRenderer;
 }
コード例 #6
0
ファイル: SavePdfOperation.cs プロジェクト: cyanfish/naps2
        public SavePdfOperation(FileNamePlaceholders fileNamePlaceholders, IPdfExporter pdfExporter, IOverwritePrompt overwritePrompt, ThreadFactory threadFactory)
        {
            this.fileNamePlaceholders = fileNamePlaceholders;
            this.pdfExporter = pdfExporter;
            this.overwritePrompt = overwritePrompt;
            this.threadFactory = threadFactory;

            AllowCancel = true;
        }
コード例 #7
0
ファイル: RecoveryManager.cs プロジェクト: cyanfish/naps2
            public RecoveryOperation(IFormFactory formFactory, ThreadFactory threadFactory, ThumbnailRenderer thumbnailRenderer)
            {
                this.formFactory = formFactory;
                this.threadFactory = threadFactory;
                this.thumbnailRenderer = thumbnailRenderer;

                ProgressTitle = MiscResources.ImportProgress;
                AllowCancel = true;
            }
コード例 #8
0
ファイル: RecoveryManager.cs プロジェクト: v0id24/naps2
            public RecoveryOperation(IFormFactory formFactory, IUserConfigManager userConfigManager, ThreadFactory threadFactory)
            {
                this.formFactory = formFactory;
                this.userConfigManager = userConfigManager;
                this.threadFactory = threadFactory;

                ProgressTitle = MiscResources.ImportProgress;
                AllowCancel = true;
            }
コード例 #9
0
ファイル: SaveImagesOperation.cs プロジェクト: cyanfish/naps2
        public SaveImagesOperation(FileNamePlaceholders fileNamePlaceholders, ImageSettingsContainer imageSettingsContainer, IOverwritePrompt overwritePrompt, ThreadFactory threadFactory)
        {
            this.fileNamePlaceholders = fileNamePlaceholders;
            this.imageSettingsContainer = imageSettingsContainer;
            this.overwritePrompt = overwritePrompt;
            this.threadFactory = threadFactory;

            ProgressTitle = MiscResources.SaveImagesProgress;
            AllowCancel = true;
        }
コード例 #10
0
ファイル: FBatchScan.cs プロジェクト: lapuinka/naps2
        public FBatchScan(IProfileManager profileManager, AppConfigManager appConfigManager, IconButtonSizer iconButtonSizer, IScanPerformer scanPerformer, IUserConfigManager userConfigManager, BatchScanPerformer batchScanPerformer, IErrorOutput errorOutput, ThreadFactory threadFactory)
        {
            this.profileManager = profileManager;
            this.appConfigManager = appConfigManager;
            this.iconButtonSizer = iconButtonSizer;
            this.scanPerformer = scanPerformer;
            this.userConfigManager = userConfigManager;
            this.batchScanPerformer = batchScanPerformer;
            this.errorOutput = errorOutput;
            this.threadFactory = threadFactory;
            InitializeComponent();

            RestoreFormState = false;
        }
コード例 #11
0
ファイル: WiaScanDriver.cs プロジェクト: v0id24/naps2
 public WiaScanDriver(IWiaTransfer wiaTransfer, ThreadFactory threadFactory, IBlankDetector blankDetector)
 {
     this.wiaTransfer = wiaTransfer;
     this.threadFactory = threadFactory;
     this.blankDetector = blankDetector;
 }
コード例 #12
0
ファイル: WiaScanDriver.cs プロジェクト: lapuinka/naps2
 public WiaScanDriver(IScannedImageFactory scannedImageFactory, IWiaTransfer wiaTransfer, ThreadFactory threadFactory)
 {
     this.scannedImageFactory = scannedImageFactory;
     this.wiaTransfer = wiaTransfer;
     this.threadFactory = threadFactory;
 }
コード例 #13
0
ファイル: RecoveryManager.cs プロジェクト: cyanfish/naps2
 public RecoveryManager(IFormFactory formFactory, ThreadFactory threadFactory, ThumbnailRenderer thumbnailRenderer)
 {
     this.formFactory = formFactory;
     this.threadFactory = threadFactory;
     this.thumbnailRenderer = thumbnailRenderer;
 }