public WiaScanDriver(IWiaTransfer wiaTransfer, ThreadFactory threadFactory, IBlankDetector blankDetector, ThumbnailRenderer thumbnailRenderer) { this.wiaTransfer = wiaTransfer; this.threadFactory = threadFactory; this.blankDetector = blankDetector; this.thumbnailRenderer = thumbnailRenderer; }
public DirectImportOperation(ThumbnailRenderer thumbnailRenderer, ThreadFactory threadFactory) { this.thumbnailRenderer = thumbnailRenderer; this.threadFactory = threadFactory; AllowCancel = true; }
public TwainWrapper(IFormFactory formFactory, IBlankDetector blankDetector, ThumbnailRenderer thumbnailRenderer, ScannedImageHelper scannedImageHelper) { this.formFactory = formFactory; this.blankDetector = blankDetector; this.thumbnailRenderer = thumbnailRenderer; this.scannedImageHelper = scannedImageHelper; }
public DirectImportOperation(ThumbnailRenderer thumbnailRenderer) { this.thumbnailRenderer = thumbnailRenderer; AllowCancel = true; AllowBackground = true; }
public FCrop(ChangeTracker changeTracker, ThumbnailRenderer thumbnailRenderer) { this.changeTracker = changeTracker; this.thumbnailRenderer = thumbnailRenderer; InitializeComponent(); CropTransform = new CropTransform(); }
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; }
public FBrightness(ChangeTracker changeTracker, ThumbnailRenderer thumbnailRenderer) { this.changeTracker = changeTracker; this.thumbnailRenderer = thumbnailRenderer; InitializeComponent(); BrightnessTransform = new BrightnessTransform(); }
public FRotate(ChangeTracker changeTracker, ThumbnailRenderer thumbnailRenderer) { this.changeTracker = changeTracker; this.thumbnailRenderer = thumbnailRenderer; InitializeComponent(); RotationTransform = new RotationTransform(); }
public FContrast(ChangeTracker changeTracker, ThumbnailRenderer thumbnailRenderer) { this.changeTracker = changeTracker; this.thumbnailRenderer = thumbnailRenderer; InitializeComponent(); ContrastTransform = new TrueContrastTransform(); }
public PdfSharpImporter(IErrorOutput errorOutput, IPdfPasswordProvider pdfPasswordProvider, ThumbnailRenderer thumbnailRenderer, ScannedImageRenderer scannedImageRenderer, IPdfRenderer pdfRenderer) { this.errorOutput = errorOutput; this.pdfPasswordProvider = pdfPasswordProvider; this.thumbnailRenderer = thumbnailRenderer; this.scannedImageRenderer = scannedImageRenderer; this.pdfRenderer = pdfRenderer; }
public RecoveryOperation(IFormFactory formFactory, ThreadFactory threadFactory, ThumbnailRenderer thumbnailRenderer) { this.formFactory = formFactory; this.threadFactory = threadFactory; this.thumbnailRenderer = thumbnailRenderer; ProgressTitle = MiscResources.ImportProgress; AllowCancel = true; }
public FSharpen(ChangeTracker changeTracker, ThumbnailRenderer thumbnailRenderer, ScannedImageRenderer scannedImageRenderer) { this.changeTracker = changeTracker; this.thumbnailRenderer = thumbnailRenderer; this.scannedImageRenderer = scannedImageRenderer; InitializeComponent(); SharpenTransform = new SharpenTransform(); }
public FBlackWhite(ChangeTracker changeTracker, ThumbnailRenderer thumbnailRenderer, ScannedImageRenderer scannedImageRenderer) { this.changeTracker = changeTracker; this.thumbnailRenderer = thumbnailRenderer; this.scannedImageRenderer = scannedImageRenderer; InitializeComponent(); BlackWhiteTransform = new BlackWhiteTransform(); }
public FHueSaturation(ChangeTracker changeTracker, ThumbnailRenderer thumbnailRenderer, ScannedImageRenderer scannedImageRenderer) { this.changeTracker = changeTracker; this.thumbnailRenderer = thumbnailRenderer; this.scannedImageRenderer = scannedImageRenderer; InitializeComponent(); HueTransform = new HueTransform(); SaturationTransform = new SaturationTransform(); }
public FBrightnessContrast(ChangeTracker changeTracker, ThumbnailRenderer thumbnailRenderer, ScannedImageRenderer scannedImageRenderer) { this.changeTracker = changeTracker; this.thumbnailRenderer = thumbnailRenderer; this.scannedImageRenderer = scannedImageRenderer; InitializeComponent(); BrightnessTransform = new BrightnessTransform(); TrueContrastTransform = new TrueContrastTransform(); }
static EditorKernel() { kernel.Bind <WelcomePage>().ToSelf().InSingletonScope(); kernel.Bind <IWelcomePage>().ToMethod(context => context.Kernel.Get <WelcomePage>()).InSingletonScope(); kernel.Bind <ProjectExplorerPanel>().ToSelf().InSingletonScope(); kernel.Bind <IProjectExplorerPanel>().ToMethod(context => context.Kernel.Get <ProjectExplorerPanel>()).InSingletonScope(); kernel.Bind <PropertiesPanel>().ToSelf().InSingletonScope(); kernel.Bind <IPropertiesPanel>().ToMethod(context => context.Kernel.Get <PropertiesPanel>()).InSingletonScope(); kernel.Bind <ParametersPanel>().ToSelf().InSingletonScope(); kernel.Bind <IParametersPanel>().ToMethod(context => context.Kernel.Get <ParametersPanel>()).InSingletonScope(); kernel.Bind <ResourceManagerPanel>().ToSelf().InSingletonScope(); kernel.Bind <IResourceManagerPanel>().ToMethod(context => context.Kernel.Get <ResourceManagerPanel>()).InSingletonScope(); kernel.Bind <SceneExplorerPanel>().ToSelf().InSingletonScope(); kernel.Bind <ISceneExplorerPanel>().ToMethod(context => context.Kernel.Get <SceneExplorerPanel>()).InSingletonScope(); kernel.Bind <StatisticsPanel>().ToSelf().InSingletonScope(); kernel.Bind <IStatisticsPanel>().ToMethod(context => context.Kernel.Get <StatisticsPanel>()).InSingletonScope(); kernel.Bind <LogPanel>().ToSelf().InSingletonScope(); kernel.Bind <ILogPanel>().ToMethod(context => context.Kernel.Get <LogPanel>()).InSingletonScope(); kernel.Bind <ColorPickerWindow>().ToSelf().InSingletonScope(); kernel.Bind <Graphics>().ToMethod(context => { Graphics graphics = new Graphics(); graphics.Init(); return(graphics); }).InSingletonScope(); kernel.Bind <Audio>().ToSelf().InSingletonScope(); kernel.Bind <ParameterManager>().ToSelf().InSingletonScope(); kernel.Bind <ResourceManager>().ToSelf().InSingletonScope(); kernel.Bind <ThumbnailRenderer>().ToMethod(context => { ThumbnailRenderer renderer = new ThumbnailRenderer(); renderer.Init(context.Kernel.Get <ResourceContext>(), 200, 200); return(renderer); }).InSingletonScope(); kernel.Bind <ResourceContext>().ToMethod(context => { ParameterManager parameterManager = context.Kernel.Get <ParameterManager>(); ResourceContext resourceContext = new ResourceContext( context.Kernel.Get <Graphics>(), context.Kernel.Get <Audio>(), parameterManager, context.Kernel.Get <ScriptEngine>(), context.Kernel.Get <Physics>(), context.Kernel.Get <ResourceManager>()); resourceContext.Init(); parameterManager.InitDefaultTextures(resourceContext); return(resourceContext); }).InSingletonScope(); kernel.Bind <EditorSettings>().ToMethod(context => { return(Controls.Workspace.Extensions.ReadFromBinaryFile <EditorSettings>(EditorSettings.EDITOR_SETTINGS_FILE_NAME, new Type[] { typeof(SceneEditorState) }) ?? new EditorSettings()); }).InSingletonScope(); kernel.Bind <Managed.Core.Timer>().ToSelf().InSingletonScope(); kernel.Bind <ScriptEngine>().ToMethod(context => { ScriptEngine scriptEngine = new ScriptEngine(); scriptEngine.Init(context.Kernel.Get <Managed.Core.Timer>()); return(scriptEngine); }).InSingletonScope(); kernel.Bind <Physics>().ToSelf().InSingletonScope(); }
public RecoveryManager(IFormFactory formFactory, ThumbnailRenderer thumbnailRenderer, IOperationProgress operationProgress) { this.formFactory = formFactory; this.thumbnailRenderer = thumbnailRenderer; this.operationProgress = operationProgress; }
public RecoveryManager(IFormFactory formFactory, ThreadFactory threadFactory, ThumbnailRenderer thumbnailRenderer) { this.formFactory = formFactory; this.threadFactory = threadFactory; this.thumbnailRenderer = thumbnailRenderer; }
public TwainWrapper(IFormFactory formFactory, IBlankDetector blankDetector, ThumbnailRenderer thumbnailRenderer) { this.formFactory = formFactory; this.blankDetector = blankDetector; this.thumbnailRenderer = thumbnailRenderer; }
public ImageImporter(ThumbnailRenderer thumbnailRenderer) { this.thumbnailRenderer = thumbnailRenderer; }
public WorkerService(TwainWrapper twainWrapper, ThumbnailRenderer thumbnailRenderer, MapiWrapper mapiWrapper) { this.twainWrapper = twainWrapper; this.thumbnailRenderer = thumbnailRenderer; this.mapiWrapper = mapiWrapper; }