public GreenshotServerAction(ICoreConfiguration coreConfiguration, MainForm mainForm, HotkeyHandler hotkeyHandler, [ImportMany] IEnumerable <IDestination> destinations)
 {
     _coreConfiguration = coreConfiguration;
     _mainForm          = mainForm;
     _hotkeyHandler     = hotkeyHandler;
     _destinations      = destinations;
 }
Beispiel #2
0
 public HotkeyHandler(
     ICoreConfiguration coreConfiguration,
     IGreenshotLanguage greenshotLanguage,
     WindowHandle windowHandle)
 {
     _instance          = this;
     _coreConfiguration = coreConfiguration;
     _greenshotLanguage = greenshotLanguage;
     _windowHandle      = windowHandle;
 }
Beispiel #3
0
 public GreenshotServerAction(
     ICoreConfiguration coreConfiguration,
     MainForm mainForm,
     HotkeyHandler hotkeyHandler,
     DestinationHolder destinationHolder)
 {
     _coreConfiguration = coreConfiguration;
     _mainForm          = mainForm;
     _hotkeyHandler     = hotkeyHandler;
     _destinationHolder = destinationHolder;
 }
Beispiel #4
0
 public HotkeyHandler(ICoreConfiguration coreConfiguration, WindowHandle windowHandle)
 {
     _instance          = this;
     _coreConfiguration = coreConfiguration;
     _windowHandle      = windowHandle;
 }