Beispiel #1
0
        /// <summary>
        /// This is constructor
        /// </summary>
        /// <param name="fileService">This is parameter used to work with file service</param>
        /// <param name="jsonConverter">This is parameter used to work with json converter service</param>
        /// <param name="attachFileService">This is parameter used to work with attach file service</param>
        public AddNoteViewModel(IFileService fileService, IJsonConverterService jsonConverter, IAttachFileService attachFileService)
        {
            _fileService       = fileService;
            _jsonConverter     = jsonConverter;
            _attachFileService = attachFileService;

            SaveNoteCommand   = new MvxCommand(SaveNoteAsync);
            AttachFileCommand = new MvxCommand(AttachFileAsync);
        }
Beispiel #2
0
 public AttachFileController()
 {
     attachSvc = new AttachFileService();
 }