Пример #1
0
 public CreateController(IApiClient apiClient, IUserImagesService userImagesService, ICurrentUserSession currentUserSession)
 {
     _apiClient = apiClient;
     _userImagesService = userImagesService;
     _currentUserSession = currentUserSession;
     _imageCleanup = _userImagesService.ImageCleanup;
 }
 public CommandPublisher(IUnitOfWork unitOfWork, ICurrentUserSession currentUser)
 {
     this.unitOfWork = unitOfWork;
     this.currentUser = currentUser;
     handlers = new HashSet<object>();
 }
Пример #3
0
 public HomeController(ICurrentUserSession currentUserSession)
 {
     _currentUserSession = currentUserSession;
 }
 public CommandAuthorizer(ICurrentUserSession currentUser)
 {
     this.currentUser = currentUser;
 }
Пример #5
0
 public AccountController(IApiClient apiClient, ICurrentUserSession currentUserSession)
 {
     _apiClient = apiClient;
     _currentUserSession = currentUserSession;
 }
Пример #6
0
 public CommandPublisherAuthorizer(IPublishCommands publisher, ICurrentUserSession currentUser)
 {
     this.publisher   = publisher;
     this.currentUser = currentUser;
 }
 public CommandPublisherProxy(ICurrentUserSession currentUser)
 {
     this.currentUser = currentUser;
     commandPublisher = new LocalCommandPublisher();
 }
 public CommandPublisherAuthorizer(IPublishCommands publisher, ICurrentUserSession currentUser)
 {
     this.publisher = publisher;
     this.currentUser = currentUser;
 }
 public CommandRequestLogger(IPublishCommands publisher, ICurrentUserSession currentUser, Type requestLoggerType/* bad way of doing this*/)
 {
     this.publisher = publisher;
     this.currentUser = currentUser;
     this.requestLoggerType = requestLoggerType;
 }
 public CommandAuthorizer(ICurrentUserSession currentUser)
 {
     this.currentUser = currentUser;
 }
 public CommandPublisher(IUnitOfWork unitOfWork, ICurrentUserSession currentUser)
 {
     this.unitOfWork  = unitOfWork;
     this.currentUser = currentUser;
     handlers         = new HashSet <object>();
 }
Пример #12
0
 public UserImagesService(IDataStorage dataStorage, ICurrentUserSession currentUserSession, IConfigurationManager configurationManager)
 {
     _dataStorage = dataStorage;
     _currentUserSession = currentUserSession;
     _configurationManager = configurationManager;
 }
Пример #13
0
 public LoginController(IApiClient apiClient, ICurrentUserSession currentUser)
 {
     _apiClient = apiClient;
     _currentUserSession = currentUser;
 }