public Operations(string name, OperationsStorage operationsStorage, NotificationCenter.NotificationCenter notificationCenter, DocumentsChanges changes) { _operationsStorage = operationsStorage; _notificationCenter = notificationCenter; _changes = changes; _logger = LoggingSource.Instance.GetLogger <Operations>(name); }
public Operations(string name, OperationsStorage operationsStorage, NotificationCenter.NotificationCenter notificationCenter, DocumentsChanges changes, TimeSpan maxCompletedTaskLifeTime) { _name = name; _operationsStorage = operationsStorage; _notificationCenter = notificationCenter; _changes = changes; _maxCompletedTaskLifeTime = maxCompletedTaskLifeTime; LowMemoryNotification.Instance.RegisterLowMemoryHandler(this); }