public ExamMarksController(IExamMarksSvc examMarksSvc, IDropdownRepo dropDwnRepo, IConfigSvc configSvc)
 {
     _examMarksSvc = examMarksSvc;
     _dropDwnRepo  = dropDwnRepo;
     _configSvc    = configSvc;
     _uiddlRepo    = new Helpers.UIDropDownRepo(_dropDwnRepo);
 }
Example #2
0
 public TransactionMasterController(IDropdownRepo ddlRepo, ITransactionMasterSvc trMaster, IConfigSvc config, ILogSvc logger)
 {
     _ddlRepo  = ddlRepo;
     _trMaster = trMaster;
     _logger   = logger;
     _config   = config;
 }
 public StudentController(IStudentSvc studSvc, IDropdownRepo dropDwnRepo, IUserTransactionSvc userTrans, IConfigSvc configSvc, ISessionSvc sessionSvc)
 {
     _studSvc     = studSvc;
     _dropDwnRepo = dropDwnRepo;
     _uiddlRepo   = new Helpers.UIDropDownRepo(_dropDwnRepo);
     //_logSvc = logSvc;
     _userTrans  = userTrans;
     _configSvc  = configSvc;
     _sessionSvc = sessionSvc;
 }
 public LoginController(IUserSvc userSvc, IDropdownRepo ddlRepo, ISessionSvc sessionSvc, IResetPasswordSvc resetPassSvc, IMailSvc mail, IConfigSvc configSvc)
 {
     _userSvc = userSvc;
     _ddlRepo = ddlRepo;
     //new OpMgr.DataAccess.Implementations.DropdownRepo(new OpMgr.Configurations.Implementations.ConfigSvc());
     _uiddlRepo = new Helpers.UIDropDownRepo(_ddlRepo);
     //_logger = logger;
     _configSvc    = configSvc;
     _sessionSvc   = sessionSvc;
     _resetPassSvc = resetPassSvc;
     _mail         = mail;//dependency injected for sending mails
 }
        public CommunicationSvc(IConfigSvc configSvc, ICommunicationSvc communicationSvc)
        {
            _configSvc              = configSvc;
            _communicationSvc       = communicationSvc;
            _reader                 = new SpeechSynthesizer();
            _recognizer             = new SpeechRecognitionEngine();
            _reader.SpeakStarted   += _reader_SpeakStarted;
            _reader.SpeakProgress  += _reader_SpeakProgress;
            _reader.SpeakCompleted += _reader_SpeakCompleted;
            _helper                 = CommunicationHelper.CommunicationObject;
            _userCommand            = string.Empty;

            _completed = new ManualResetEvent(false);
            _recognizer.SpeechRecognitionRejected += _recognizer_SpeechRecognitionRejected;
            _recognizer.SpeechRecognized          += _recognizer_SpeechRecognized;
            _recognizer.SetInputToDefaultAudioDevice(); // set the input of the speech recognizer to the default audio device
            _recognizer.RecognizeAsync(RecognizeMode.Multiple);
            _completed.WaitOne();                       // wait until speech recognition is completed
        }
Example #6
0
 public BookMasterSvc(IConfigSvc configSvc)
 {
     _configSvc = configSvc;
 }
Example #7
0
 public TransactionMasterSvc(IConfigSvc configSvc, ILogSvc logger)
 {
     _configSvc = configSvc;
     _logger    = logger;
 }
Example #8
0
 public DbSvc(IConfigSvc configSvc)
 {
     _configSvc = configSvc;
     _conn      = new MySqlConnection(configSvc.GetConnectionString());
 }
Example #9
0
 public TextLogSvc(IConfigSvc configSvc)
 {
     _configSvc = configSvc;
     _logPath   = configSvc.GetLogPath();
 }
 public LibraryTransactionSvc(IConfigSvc configSvc, ILogSvc logger)
 {
     _configSvc = configSvc;
     _logger    = logger;
 }
 public UserTransactionSvc(IConfigSvc configSvc, ILogSvc logger)
 {
     _configSvc = configSvc;
     _logger    = logger;
 }
 public ResetPasswordSvc(IConfigSvc configSvc, ILogSvc logger)
 {
     _configSvc = configSvc;
     _logger    = logger;
 }
Example #13
0
        //        StandardKernel kernel = new StandardKernel();
        //        kernel.Load(diResolverPath);
        //ITransactionSvc trnsSvc = kernel.Get<ITransactionSvc>();
        //        trnsSvc.AddRegularTransactions();

        public UploadData(IConfigSvc configSvc, ILogSvc logger)
        {
            _configSvc = configSvc;
            _logger    = logger;
        }
Example #14
0
 public UserSvc(IConfigSvc configSvc, ILogSvc logger)
 {
     _configSvc = configSvc;
     _logger    = logger;
 }
 public EntitlementActionSvc(IConfigSvc configSvc, ILogSvc logger)
 {
     _configSvc = configSvc;
     _logger    = logger;
 }
 public TransactionLogPaymentSvc(IConfigSvc config, ILogSvc logger)
 {
     _configSvc = config;
     _logger    = logger;
 }
Example #17
0
 public MailSvc(IConfigSvc configSvc, ILogSvc logger)
 {
     _configSvc = configSvc;
     _logger    = logger;
 }
Example #18
0
 public XmlLogSvc(IConfigSvc configSvc)
 {
     _configSvc = configSvc;
 }
Example #19
0
 public DropdownRepo(IConfigSvc configSvc)
 {
     _configSvc = configSvc;
 }