public CRMManager() { clientManager = ModulesRegistrations.RegisterCRMModule().Resolve <IClientManager>(); packageManager = ModulesRegistrations.RegisterCRMModule().Resolve <IPackageManager>(); clientTypeManager = ModulesRegistrations.RegisterCRMModule().Resolve <IClientTypeManager>(); lineManager = ModulesRegistrations.RegisterCRMModule().Resolve <ILineManager>(); }
public OptimalPackageManager() { packageManager = GetContainer().Resolve <IPackageManager>(); crmManager = GetContainer().Resolve <ICRMManager>(); smsManager = GetContainer().Resolve <ISMSManager>(); callManager = GetContainer().Resolve <ICallManager>(); lineManager = GetContainer().Resolve <ILineManager>(); }
public ReportsEngineManager() { _clientTypeManager = GetContainer().Resolve <IClientTypeManager>(); _smsManager = GetContainer().Resolve <ISMSManager>(); _callManager = GetContainer().Resolve <ICallManager>(); _clientManager = GetContainer().Resolve <IClientManager>(); _packageManager = GetContainer().Resolve <IPackageManager>(); _lineManager = GetContainer().Resolve <ILineManager>(); _crmManager = GetContainer().Resolve <ICRMManager>(); }
public IEnumerable <LineDto> GetLines() { try { List <LineDto> lines; lock (obj) { lineManager = GetContainer().Resolve <ILineManager>(); lines = lineManager.GetLineDtos().ToList(); return(lines); } } catch (Exception ex) { Debug.WriteLine(ex.Message); return(null); } }
public LineDto GetLine(string number) { try { LineDto line; lock (obj) { lineManager = GetContainer().Resolve <ILineManager>(); line = lineManager.GetLineDto(number); return(line); } } catch (Exception ex) { Debug.WriteLine(ex.Message); return(null); } }
public FoldingManager(IDocument document, ILineManager lineTracker) { this.document = document; document.DocumentChanged += new DocumentEventHandler(DocumentChanged); // lineTracker.LineCountChanged += new LineManagerEventHandler(LineManagerLineCountChanged); // lineTracker.LineLengthChanged += new LineLengthEventHandler(LineManagerLineLengthChanged); // foldMarker.Add(new FoldMarker(0, 5, 3, 5)); // // foldMarker.Add(new FoldMarker(5, 5, 10, 3)); // foldMarker.Add(new FoldMarker(6, 0, 8, 2)); // // FoldMarker fm1 = new FoldMarker(10, 4, 10, 7); // FoldMarker fm2 = new FoldMarker(10, 10, 10, 14); // // fm1.IsFolded = true; // fm2.IsFolded = true; // // foldMarker.Add(fm1); // foldMarker.Add(fm2); // foldMarker.Sort(); }
/// <summary> /// Creates a new instance of <see cref="CustomLineManager"/> /// </summary> public CustomLineManager(ILineManager lineTracker) { lineTracker.LineCountChanged += new LineManagerEventHandler(MoveIndices); }
/// <summary> /// Creates a new instance of <see cref="BookmarkManager"/> /// </summary> public BookmarkManager(IDocument document, ILineManager lineTracker) { this.document = document; lineTracker.LineCountChanged += new LineManagerEventHandler(MoveIndices); }
public FoldingManager(IDocument document, ILineManager lineTracker) { this.document = document; document.DocumentChanged += new DocumentEventHandler(DocumentChanged); }
public CustomLineManager(ILineManager lineTracker) { lineTracker.LineCountChanged += new LineManagerEventHandler(this.MoveIndices); }
/// <summary> /// Creates a new instance of <see cref="BookmarkManager"/> /// </summary> public BookmarkManager(ILineManager lineTracker) { lineTracker.LineCountChanged += new LineManagerEventHandler(MoveIndices); }
//ctor public LineController(ILineManager lineManager) { _lineManager = lineManager; }