public PostagemCommandHandlerBase(IUserInformation user, ILogger <THandler> logger, IMapperServices mapper, IPostagemRepository postagemRepository) : base(user, logger, mapper) { _postagemRepository = postagemRepository; }
private static void PrintUserInformation(IUserInformation proxy) { Console.WriteLine("Calling the service"); var userInfo = proxy.GetUserInformation(); Console.WriteLine("Username from SecurityServiceContext: " + userInfo.SecurityServiceContextUsername); Console.WriteLine("Username from Thread's CurrentPrincial: " + userInfo.ThreadCurrentPrincipalUsername); }
public CommandHandlerBase(IUserInformation user, ILogger <THandler> logger, IMapperServices mapper) { _user = user; _logger = logger; _mapper = mapper; }
public DataEnrichmentBusiness(IEffectiveAuthorizationTimelineFactory effectiveAuthorizationTimelineFactory, IReportingStorage reportingStorage, IUserInformation userInformation, ILogger logger ) { _effectiveAuthorizationTimelineFactory = effectiveAuthorizationTimelineFactory; _reportingStorage = reportingStorage; _userInformation = userInformation; _logger = logger; }
public ListarPostagensRecentesQueryHandler(IUserInformation user, ILogger <ListarPostagensRecentesQueryHandler> logger, IPostagemQuery postagemQuery, ICacheServices cacheServices) : base(user, logger) { _postagemQuery = postagemQuery; _cacheServices = cacheServices; }
public ObterPostagemQueryHandler(IUserInformation user, ILogger <ObterPostagemQueryHandler> logger, IPostagemQuery postagemQuery, ICacheServices cacheServices) : base(user, logger) { _postagemQuery = postagemQuery; _cacheServices = cacheServices; }
//public ICommand GotoHome => new Command<string>(OnGotoHome); public PinCodeViewModel(INavigationService navigationService, IUserInformation userInformation, IFeature checkpincode, IAuthentication authentication, IUserInformationLocalStorage userInformationLocalStorage) : base(navigationService, false) { _userInformation = userInformation ?? throw new ArgumentNullException(nameof(userInformation)); _checkpincode = checkpincode ?? throw new ArgumentNullException(nameof(checkpincode)); _authentication = authentication ?? throw new ArgumentNullException(nameof(authentication)); _userInformationLocalStorage = userInformationLocalStorage ?? throw new ArgumentNullException(nameof(userInformationLocalStorage)); Initialize(); }
public SourceControl(IRepository repository, IRepositoryManager repositoryManager, IDeploymentManager deploymentManager, IUserInformation userInformation) { _repository = repository; _repositoryManager = repositoryManager; _deploymentManager = deploymentManager; _userInformation = userInformation; }
/// <summary> /// Adds the item. /// </summary> /// <param name="information">The information.</param> private void AddItem(IUserInformation information) { if ((Dispatcher == null) || Dispatcher.Thread.Equals(System.Threading.Thread.CurrentThread)) { _infos.Add(information); } else { Dispatcher.Invoke(new AddItemDelegate(AddItem), information); } }
public MerchantPaymentScanQrCodeViewModel(INavigationService navigationService, IEventAggregator ea, IUserInformation userInformation, IAuthentication authentication, IFeature makepayment) : base(navigationService) { _ea = ea; _userInformation = userInformation ?? throw new ArgumentNullException(nameof(userInformation)); _authentication = authentication ?? throw new ArgumentNullException(nameof(authentication)); _makepayment = makepayment ?? throw new ArgumentNullException(nameof(makepayment)); }
public ForcePincodeChangePopupViewModel(INavigationService navigationService, IAuthentication authentication, IFeature updateservice, IUserInformation userInformation, IUserInformationLocalStorage userInformationLocalStorage ) : base(navigationService) { _authentication = authentication ?? throw new ArgumentNullException(nameof(authentication)); _userInformation = userInformation ?? throw new System.ArgumentNullException(nameof(userInformation)); _updatepinservice = updateservice ?? throw new ArgumentNullException(nameof(updateservice)); _userInformationLocalStorage = userInformationLocalStorage ?? throw new ArgumentNullException(nameof(userInformationLocalStorage)); }
public ManualPaymentViewModel(INavigationService navigationService, IEventAggregator ea, IAuthentication authentication, IUserInformation userinformation, IFeature makepayment) : base(navigationService) { _authentication = authentication; _userinformation = userinformation; _makepayment = makepayment; _ea = ea; PreviousText.Value = TranslateManagerHelper.Convert("cancel").ToUpperInvariant(); NextText.Value = TranslateManagerHelper.Convert("next").ToUpperInvariant(); Initialize(); }
public VouchersViewModel(INavigationService navigationService, IEventAggregator ea, IApplications applicationsService, IFeature feature, IAppInfo appInfo, IQRCode qrcode, IAuthentication authentication, IUserInformation userInformation) : base(navigationService) { _ea = ea; _applicationsService = applicationsService ?? throw new ArgumentNullException(nameof(applicationsService)); _feature = feature ?? throw new ArgumentNullException(nameof(feature)); _userInformation = userInformation ?? throw new ArgumentNullException(nameof(userInformation)); _appInfo = appInfo ?? throw new ArgumentNullException(nameof(appInfo)); _authentication = authentication ?? throw new ArgumentNullException(nameof(authentication)); _qrcode = qrcode ?? throw new ArgumentNullException(nameof(qrcode)); Initialize(); }
public CharityViewModel(INavigationService navigationService, IEventAggregator ea, IAuthentication authentication, IUserInformation userInformation, IFeature donationservice, IOrganizations organizations, IAppInfo appInfo, IFeature statementsservice) : base(navigationService) { _organizations = organizations ?? throw new System.ArgumentNullException(nameof(organizations)); _authentication = authentication ?? throw new System.ArgumentNullException(nameof(authentication)); _donationservice = donationservice ?? throw new System.ArgumentNullException(nameof(donationservice)); _userInformation = userInformation ?? throw new System.ArgumentNullException(nameof(userInformation)); _appInfo = appInfo ?? throw new System.ArgumentNullException(nameof(appInfo)); _statementsservice = statementsservice ?? throw new System.ArgumentNullException(nameof(statementsservice)); _ea = ea; Initialize(); }
public GiftCardViewModel(INavigationService navigationService, IEventAggregator ea, IAuthentication authentication, IFeature creategiftcardservice, IUserInformation userInformation, IOrganizations organizations, IQRCode qRCode, IAppInfo appInfo, IApplications applicationsService, IFeature giftcardservice) : base(navigationService) { _ea = ea; _authentication = authentication ?? throw new System.ArgumentNullException(nameof(authentication)); _creategiftcardservice = creategiftcardservice ?? throw new System.ArgumentNullException(nameof(userInformation)); _userInformation = userInformation ?? throw new System.ArgumentNullException(nameof(userInformation)); _organizations = organizations ?? throw new System.ArgumentNullException(nameof(organizations)); _qRCode = qRCode ?? throw new System.ArgumentNullException(nameof(qRCode)); _appInfo = appInfo ?? throw new System.ArgumentNullException(nameof(appInfo)); _applicationsService = applicationsService ?? throw new System.ArgumentNullException(nameof(applicationsService)); _giftcardservice = giftcardservice ?? throw new System.ArgumentNullException(nameof(giftcardservice)); InitializeInput(); LoadGiftCard(); }
public DevelopmentEnvironment(IUserInformation userInformation, ISiteConfiguration configuration) { _userInformation = userInformation; _configuration = configuration; }
void OnSendInformation(IUserInformation info, params int[] userIds) { if (userIds.Length < 1) SendInformation(info, users.ToArray()); else SendInformation(info, userIds); }
public ListarPostagensPorUsuarioQueryHandler(IUserInformation user, ILogger <ListarPostagensPorUsuarioQueryHandler> logger, IPostagemQuery postagemQuery) : base(user, logger) { _postagemQuery = postagemQuery; }
public ComentarPostagemCommandHandler(IUserInformation user, ILogger <ComentarPostagemCommandHandler> logger, IMapperServices mapper, IPostagemRepository postagemRepository) : base(user, logger, mapper, postagemRepository) { }
internal Information(IApplicationInformation application, IMachineInformation machine, IUserInformation user) { Application = application; Machine = machine; User = user; }
void IUser.ExecuteInformation(IUserInformation info) { info.Execute(this); }
public PageDefinition(IUserInformation userInformation) { UserInformation = userInformation; }
public UserInformation(IUserInformation userInformation) { _userInformation = userInformation; }
/// <summary> /// Adds an item to the collection. /// </summary> /// <param name="information">The item to add</param> public void AddItem(IUserInformation information) { _infoCollection.Add(information); }
public CommandHandlerMediatRBase(IUserInformation user, ILogger <THandler> logger, IMapperServices mapper) : base(user, logger, mapper) { }
public QueryHandlerMediatRBase(IUserInformation user, ILogger <THandler> logger) : base(user, logger) { }
public UserInfoController(IUserInformation userInformation) { _userInformation = userInformation; }
public QueryHandlerBase(IUserInformation user, ILogger <THandler> logger) { _user = user; _logger = logger; }
private static void SetDefaultInstance() { if (theFactory == null) { theFactory = UserInformation<User, WhoIsOnline>.Instance(new HttpContextWrapper(HttpContext.Current), new WhoIsOnlineService<User, WhoIsOnline>(new EntityWhoIsOnlineRepository()), new GetUserStrategy()); } }
public static void SetInstance(IUserInformation<User, WhoIsOnline> userInformation) { theFactory = userInformation; }
public PinCodePopupViewModel(INavigationService navigationService, IUserInformation userInformation, IUserInformationLocalStorage userInformationLocalStorage) : base(navigationService) { _userInformation = userInformation ?? throw new System.ArgumentNullException(nameof(userInformation)); _userInformationLocalStorage = userInformationLocalStorage ?? throw new ArgumentNullException(nameof(userInformationLocalStorage)); Initialize(); }