예제 #1
0
 public OfficeConfigViewModel(
     IOfficeConfiguration officeConfiguration,
     IOfficeLanguage officeLanguage,
     IGreenshotLanguage greenshotLanguage)
 {
     OfficeConfiguration = officeConfiguration;
     OfficeLanguage      = officeLanguage;
     GreenshotLanguage   = greenshotLanguage;
 }
예제 #2
0
 protected OutlookDestination(
     string outlookInspectorCaption,
     OlObjectClass outlookInspectorType,
     IOfficeConfiguration officeConfiguration,
     ICoreConfiguration coreConfiguration,
     IGreenshotLanguage greenshotLanguage
     ) : this(officeConfiguration, coreConfiguration, greenshotLanguage)
 {
     _outlookInspectorCaption = outlookInspectorCaption;
     _outlookInspectorType    = outlookInspectorType;
 }
예제 #3
0
 public OutlookDestination(
     IOfficeConfiguration officeConfiguration,
     ICoreConfiguration coreConfiguration,
     IGreenshotLanguage greenshotLanguage
     ) : base(coreConfiguration, greenshotLanguage)
 {
     _officeConfiguration = officeConfiguration;
     if (EmailConfigHelper.HasOutlook())
     {
         _isActiveFlag = true;
     }
     _exePath = PluginUtils.GetExePath("OUTLOOK.EXE");
     if (_exePath != null && !File.Exists(_exePath))
     {
         _exePath = null;
     }
     if (_exePath == null)
     {
         _isActiveFlag = false;
     }
 }