コード例 #1
0
 public SubscriptionResource(
     IUpdateSubscriptionCommand updateCommand,
     IDeleteSubscriptionCommand deleteCommand,
     IEntityById entityById)
 {
     this.updateCommand = updateCommand;
     this.deleteCommand = deleteCommand;
     this.entityById    = entityById;
 }
コード例 #2
0
ファイル: SubscriptionResource.cs プロジェクト: ashic/Hermes
 public SubscriptionResource(
     IUpdateSubscriptionCommand updateCommand,
     IDeleteSubscriptionCommand deleteCommand,
     IEntityById entityById)
 {
     this.updateCommand = updateCommand;
     this.deleteCommand = deleteCommand;
     this.entityById = entityById;
 }
コード例 #3
0
 public SubscriptionService(IAddSubscriptionCommand addSubscription, IUpdateSubscriptionCommand updateSubscription, IOfflineProcessingService offlineProcessingService)
 {
     _addSubscription          = addSubscription;
     _updateSubscription       = updateSubscription;
     _offlineProcessingService = offlineProcessingService;
 }