public FishyNotes(IDictionary <int, Form> noteForms, INotes noteData)
 {
     InitializeComponent();
     _noteForms    = noteForms;
     _noteData     = noteData;
     _noteTextData = _noteData as INoteText;
 }
Example #2
0
        public NotesPageViewModel(INotes notes)
        {
            _notes = notes;

            _notes.NoteRemoved += NotesOnNoteRemoved;

            Init().SafeFireAndForget();
        }
Example #3
0
 public AssignmentsController(IAssignments assignment, ICustodianDetails custodian, ILookupModel lookupModel, IAssignmentLookupAgent assignmentLookup, INotes notes)
 {
     _assignment       = assignment;
     _custodian        = custodian;
     _lookupModel      = lookupModel;
     _assignmentLookup = assignmentLookup;
     _notes            = notes;
 }
 public AssignmentsController(IAssignments assignment, ICustodianDetails custodian, ILookupModel lookupModel, IAssignmentLookupAgent assignmentLookup, INotes notes)
 {
     _assignment = assignment;
     _custodian = custodian;
     _lookupModel = lookupModel;
     _assignmentLookup = assignmentLookup;
     _notes = notes;
 }
        public Controller()
        {
            IDictionary <int, Form> fishyNoteList = new Dictionary <int, Form>();

            IFactory <INotes> _noteDataFactory = new Factory <INotes>();

            INotes noteData = _noteDataFactory.Create <NoteData>();

            Application.Run(new FishyNotes(fishyNoteList, noteData));
        }
Example #6
0
 public void AddNote(INotes parentref)
 {
     Console.WriteLine("FishyNote " + _id + ": has requested to be created.");
     //Adding the FishNote to the list
     _notes.Add(new FishyNote(RemoveNote, AddText, GetNote, GetText, _id));
     //Showing the last element created
     _notes.Last().Show();
     //Increasing id count by 1
     _id++;
 }
Example #7
0
 private void resetRepositories()
 {
     _userManagement     = null;
     _pipeLine           = null;
     _product            = null;
     _manageLeadAccess   = null;
     _contact            = null;
     _common             = null;
     _files              = null;
     _source             = null;
     _stageManagement    = null;
     _user               = null;
     _zone               = null;
     _advanceLeadCreator = null;
     _notes              = null;
 }
 public NotesPresenter(INotes view) : base(view)
 {
 }
Example #9
0
 public Note()
 {
     _notes = ((App)App.Current).NotesSqlLite;
 }
Example #10
0
 public NotesTier(INotes notesRepository)
 {
     this.notesRepository = notesRepository;
 }
Example #11
0
 public NotepadForm(INotes notes)
 {
     InitializeComponent();
     Notes = notes;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="NotesController"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="userManager">The user manager.</param>
 public NotesController(INotes notes)
 {
     Notes = notes;
 }
Example #13
0
 public NoteController(INotes <Note> services)
 {
     this._services = services;
 }
 public NotesController(INotes INotes, ICommon ICommon)
 {
     _INotes  = INotes;
     _ICommon = ICommon;
 }
Example #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NotesManager" /> class.
 /// </summary>
 /// <param name="notes">notes parameter of type INotes</param>
 public NotesManager(INotes notes)
 {
     this.notes = notes;
 }
Example #16
0
 public Table(IChessBoard chessBoard, ITimer timer, INotes notes)
 {
     ChessBoard = chessBoard;
     Timer      = timer;
     Notes      = notes;
 }
Example #17
0
 public NotesController(INotes notesService, ApplicationDbContext context)
 {
     _notesService = notesService;
     _context      = context;
 }