コード例 #1
0
 public GetMessagesService(IDbConnection dbConnection, IMessageDataAccess messageDataAccess)
 {
     _dbConnection      = dbConnection;
     _messageDataAccess = messageDataAccess;
 }
コード例 #2
0
 public MessageService(IMessageDataAccess messageDataAccess)
 {
     this.messageDataAccess = messageDataAccess;
 }
コード例 #3
0
 public SaveDataViewModel(IMessageDataAccess messageDataAccess, IMessageClient messageClient)
 {
     this._messageDataAccess = messageDataAccess;
     this._messageClient     = messageClient;
 }
コード例 #4
0
 public void Setup()
 {
     _dbConnection         = Substitute.For <IDbConnection>();
     _messageDataAccess    = Substitute.For <IMessageDataAccess>();
     _createMessageService = new CreateMessageService(_dbConnection, _messageDataAccess);
 }
コード例 #5
0
 public CreateMessageService(IDbConnection dbConnection, IMessageDataAccess messageDataAccess)
 {
     _dbConnection      = dbConnection;
     _messageDataAccess = messageDataAccess;
 }
コード例 #6
0
 public MessageGetService(IMessageDataAccess messageDataAccess)
 {
     this.MessageDataAccess = messageDataAccess;
 }