public OfficeConfigViewModel( IOfficeConfiguration officeConfiguration, IOfficeLanguage officeLanguage, IGreenshotLanguage greenshotLanguage) { OfficeConfiguration = officeConfiguration; OfficeLanguage = officeLanguage; GreenshotLanguage = greenshotLanguage; }
protected OutlookDestination( string outlookInspectorCaption, OlObjectClass outlookInspectorType, IOfficeConfiguration officeConfiguration, ICoreConfiguration coreConfiguration, IGreenshotLanguage greenshotLanguage ) : this(officeConfiguration, coreConfiguration, greenshotLanguage) { _outlookInspectorCaption = outlookInspectorCaption; _outlookInspectorType = outlookInspectorType; }
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; } }