public CallEBayProcessing(ILogService log, ITime time, ICacheService cacheService, IDbFactory dbFactory, IStyleManager styleManager, eBayApi eBayApi, IEmailService emailService, CompanyDTO company) { _log = log; _time = time; _dbFactory = dbFactory; _cacheService = cacheService; _styleManager = styleManager; _descriptionTemplatePath = Path.Combine(AppSettings.TemplateDirectory, TemplateHelper.EBayDescriptionTemplateName); _descriptionMultiListingTemplatePath = Path.Combine(AppSettings.TemplateDirectory, TemplateHelper.EBayDescriptionMultiListingTemplateName); _eBayApi = eBayApi; _company = company; _emailService = emailService; _actionService = new SystemActionService(_log, _time); _htmlScraper = new HtmlScraperService(log, time, dbFactory); var itemHistoryService = new ItemHistoryService(_log, _time, _dbFactory); _barcodeService = new BarcodeService(log, time, dbFactory); _autoCreateListingService = new AutoCreateEBayListingService(_log, _time, dbFactory, cacheService, _barcodeService, _emailService, itemHistoryService, AppSettings.IsDebug); }
protected StyledClassificationFormatDefinition(IStyleManager styleManager) : this() { var style = styleManager.GetStyleForClassificationType(ClassificationTypeName); ForegroundColor = style.ForegroundColor; IsBold = style.Bold; }
public MUIMessageBox(IStyleManager styleManager, MessageBoxButtons buttons, Size size) : base(styleManager, size) { InitializeComponent(); this.ShowInTaskbar = false; this.StartPosition = FormStartPosition.CenterScreen; this.TopMost = true; Buttons = buttons; this.Load += MUIMessageBox_Load; }
public MUIBaseForm(IStyleManager manager, Size size) : base() { this.FormBorderStyle = FormBorderStyle.None; // get rid of the standard title bar InitializeComponent(); Size = size; StyleManager = manager; this.Load += MUIBaseForm_Load; this.FormClosing += MUIBaseForm_FormClosing; }
public AmazonReportService(AmazonReportType reportType, long companyId, AmazonApi api, ILogService log, ITime time, IDbFactory dbFactory, ISyncInformer syncInfo, IStyleManager styleManager, INotificationService notificationService, IStyleHistoryService styleHistoryService, IItemHistoryService itemHistoryService, ISystemActionService actionService, IReportParser parser, string path = "") { _log = log; _time = time; _dbFactory = dbFactory; _api = api; _reportInfo = new AmazonReportInfo(); _reportInfo.ReportRequestId = String.Empty; _path = path; _companyId = companyId; _syncInfo = syncInfo; _reportType = reportType; _parser = parser; _actionService = actionService; var parseContext = new ParseContext() { Log = log, Time = time, DbFactory = dbFactory, ActionService = actionService, StyleManager = styleManager, NotificationService = notificationService, StyleHistoryService = styleHistoryService, ItemHistoryService = itemHistoryService, SyncInformer = syncInfo, CompanyId = companyId }; _parser.Init(parseContext); _log.Info(string.Format("Path: {0}", path)); }
public ListingLineProcessing(ParseContext parseContext, ITime time, bool canCreateStyleInfo) { _log = parseContext.Log; _companyId = parseContext.CompanyId; _styleManager = parseContext.StyleManager; _syncInfo = parseContext.SyncInformer; _notificationService = parseContext.NotificationService; _styleHistoryService = parseContext.StyleHistoryService; _itemHistoryService = parseContext.ItemHistoryService; _actionService = parseContext.ActionService; _time = time; _canCreateStyleInfo = canCreateStyleInfo; }
public MUIMdiParent(IStyleManager manager, Size size) : base(manager, size) { this.IsMdiContainer = true; Control[] controls = this.GetControlsByType(typeof(MdiClient)); foreach (Control item in controls) { item.BackColor = StyleManager.MdiParentBackColor; } this.MainMenuStrip = new MenuStrip() { Visible = false }; this.Load += MUIMdiParent_Load; }
public BuildMessageWarningFormatDefinition(IStyleManager styleManager) : base(styleManager) { }
public DebugExceptionFormatDefinition(IStyleManager styleManager) : base(styleManager) { }
public MUIForm(IStyleManager manager, Size size) : base(manager, size) { this.Load += MUIForm_Load; }
public DebugTraceErrorFormatDefinition(IStyleManager styleManager) : base(styleManager) { }
/// <summary> /// Выполняет определяемые приложением задачи, связанные с удалением, высвобождением или сбросом неуправляемых ресурсов. /// </summary> /// <filterpriority>2</filterpriority> public void Dispose() { Shell.IsNarrowViewChanged.RemoveCallback(_callbackId); _styleManager = null; }
public MUIMessageBox(IStyleManager styleManager, MessageBoxButtons buttons) : this(styleManager, buttons, new Size(600, 300)) { }
public MUIMessageBox(IStyleManager styleManager) : this(styleManager, MessageBoxButtons.OKCancel, new Size(600, 300)) { }
public MUIButton(IStyleManager manager) { StyleManager = manager; }
public ToolController(IStyleManager styleManager) { _styleManager = styleManager; }
public NpmResultFailedFormatDefinition(IStyleManager styleManager) : base(styleManager) { }
/// <summary> /// Конструктор. /// </summary> public DvachTextRenderStyle() { _callbackId = Shell.IsNarrowViewChanged.AddCallback(this); _styleManager = StyleManagerFactory.Current.GetManager(); }
public StyleReset(Style style, StyleGroup group, IStyleManager styleMgr) { this.style = styleMgr; this.style.Set(style, group); }
public BuildResultFailedFormatDefinition(IStyleManager styleManager) : base(styleManager) { }
public BuildResultSucceededFormatDefinition(IStyleManager styleManager) : base(styleManager) { }
public NpmMessageWarningFormatDefinition(IStyleManager styleManager) : base(styleManager) { }
internal Sheet(IWorkbook workbook, string name) { _sheet = workbook.CreateSheet(name); _styleManager = new StyleManager(_sheet.Workbook); }
/// <summary> /// Construct a <see cref="Logger"/> with the given output text writer /// </summary> /// <param name="output"></param> /// <param name="style"></param> public Logger(TextWriter output, IStyleManager style) { this.output = output; this.style = style; }
public BuildMessageErrorFormatDefinition(IStyleManager styleManager) : base(styleManager) { }
public NpmMessageErrorFormatDefinition(IStyleManager styleManager) : base(styleManager) { }
public MUIForm(IStyleManager manager) : this(manager, new Size(600, 600)) { }
public DebugTraceWarningFormatDefinition(IStyleManager styleManager) : base(styleManager) { }