Example #1
0
 public AuthenticationService(HttpContextBase context, IUserService userService, IWebWorker worker)
 {
     this._httpContext = context;
     this._userService = userService;
     this._worker = worker;
     this._expirationTimeSpan = FormsAuthentication.Timeout;
 }
Example #2
0
 //, ISetupService setup)
 public DefaultController(IAuthenticationService authenticationService,IUserService userService,IWebWorker workerService)
 {
     this._authenticationService = authenticationService;
     this._userService = userService;
     this._workerService = workerService;
     //this._setup = setup;
 }
Example #3
0
        public EditStreetViewModel(IWebWorker webWorker,
                                   IList <string> streets = null)
        {
            _webWorker = webWorker;

            Streets    = new ObservableCollection <string>(streets ?? new string[] { });
            AddPath    = new DelegateCommand(OnAddStreet, OnCanAddStreet);
            DeletePath = new DelegateCommand(OnDeletePath, OnCanDeletePath);
        }
        public AdminProjectController(HttpContextBase htppbase, IProjects projectInfo, IWebWorker workerService, 
            IUserService userService, IAuthenticationService authenticationService)
        {
            this._httpContextBase = htppbase;
            this._projects = projectInfo ;

            //this._workerService = workerService;
            this._userService=userService;
            this._authenticationService = authenticationService;
        }
Example #5
0
 public SendSMSController(ISmsService smsService,
     IWebWorker workerContext, IUserService userService, HttpContextBase httpContextBase, IDateTimeHelper dateTimeHelper, IGeneralService genservice, IAuthenticationService Authe)
 {
     this._iUserService = userService;
     this._dateTime = dateTimeHelper;
     this._httpContextBase = httpContextBase;
     this._workerContext = workerContext;
     this._genservice = genservice;
     this._smsService = smsService;
     this._Authe = Authe;
 }
Example #6
0
        public StreetsViewModel(IWebWorker web,
                                IParser parser,
                                IDialogProvider provider,
                                IMessage message)
        {
            _web      = web;
            _parser   = parser;
            _provider = provider;
            _message  = message;

            SetStreetCommand = new ActionCommand(CustomizeStreets);
            SetStreets(_parser.LoadStreets());
        }
Example #7
0
        public HomesViewModel(IList <string> streets,
                              IWebWorker worker,
                              IParser parser,
                              IMessageHelper messageHelper,
                              IMessage messageService)
        {
            _streets        = streets;
            _worker         = worker;
            _parser         = parser;
            _messageHelper  = messageHelper;
            _messageService = messageService;
            _messageService.Subscribe <MessageArgs>(OnStreetsChanged);

            Download = DelegateCommand.FromAsyncHandler(OnDownload, CanDownload);
        }
Example #8
0
 public HomeController(IAuthenticationService authenticationService,IWebWorker _workercontext)
 {
     this._authenticationService = authenticationService;
 }