コード例 #1
0
 public CreateController(IApiClient apiClient, IUserImagesService userImagesService, ICurrentUserSession currentUserSession)
 {
     _apiClient = apiClient;
     _userImagesService = userImagesService;
     _currentUserSession = currentUserSession;
     _imageCleanup = _userImagesService.ImageCleanup;
 }
コード例 #2
0
 public CommandPublisher(IUnitOfWork unitOfWork, ICurrentUserSession currentUser)
 {
     this.unitOfWork = unitOfWork;
     this.currentUser = currentUser;
     handlers = new HashSet<object>();
 }
コード例 #3
0
 public HomeController(ICurrentUserSession currentUserSession)
 {
     _currentUserSession = currentUserSession;
 }
コード例 #4
0
 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;
 }
コード例 #7
0
 public CommandPublisherProxy(ICurrentUserSession currentUser)
 {
     this.currentUser = currentUser;
     commandPublisher = new LocalCommandPublisher();
 }
コード例 #8
0
 public CommandPublisherAuthorizer(IPublishCommands publisher, ICurrentUserSession currentUser)
 {
     this.publisher = publisher;
     this.currentUser = currentUser;
 }
コード例 #9
0
 public CommandRequestLogger(IPublishCommands publisher, ICurrentUserSession currentUser, Type requestLoggerType/* bad way of doing this*/)
 {
     this.publisher = publisher;
     this.currentUser = currentUser;
     this.requestLoggerType = requestLoggerType;
 }
コード例 #10
0
 public CommandAuthorizer(ICurrentUserSession currentUser)
 {
     this.currentUser = currentUser;
 }
コード例 #11
0
 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;
 }