예제 #1
0
 public AiringService(IGetAiringQuery airingQueryHelper,
                      AppSettings appSettings,
                      IAiringSaveCommand airingSaveCommandHelper,
                      IAiringDeleteCommand airingDeleteCommandHelper, IAiringMessagePusher airingMessagePusherCommandHelper,
                      IQueueQuery queueQueryHelper,
                      ITaskUpdater taskUpdaterCommand,
                      IFileQuery fileQueryHelper,
                      IDestinationQuery destinationQueryHelper,
                      IPackageQuery packageQueryHelper,
                      IChangeHistoricalAiringQuery changeHistoricalAiringQueryHelper,
                      IChangeDeletedAiringQuery changeDeletedAiringQueryHelper,
                      IDeportExpiredAiring deportExpiredAiringHelper,
                      CurrentAiringsQuery currentAiringsQuery,
                      DeletedAiringsQuery deletedAiringsQuery,
                      IUpdateDeletedAiringQueueDelivery updateDeletedAiringQueueDelivery,
                      IUpdateAiringQueueDelivery updateAiringQueueDelivery,
                      IPackageCommand packagePersist,
                      IPurgeAiringCommand purgeAiringCommand,
                      IChangeNotificationCommands changeNotificaitonCommands,
                      IApplicationContext cntx
                      )
 {
     this.airingQueryHelper                = airingQueryHelper;
     this.airingSaveCommandHelper          = airingSaveCommandHelper;
     this.airingDeleteCommandHelper        = airingDeleteCommandHelper;
     this.airingMessagePusherCommandHelper = airingMessagePusherCommandHelper;
     this.queueQueryHelper                  = queueQueryHelper;
     this.taskUpdaterCommand                = taskUpdaterCommand;
     this.fileQueryHelper                   = fileQueryHelper;
     this.appSettings                       = appSettings;
     this.destinationQueryHelper            = destinationQueryHelper;
     this.packageQueryHelper                = packageQueryHelper;
     this.changeHistoricalAiringQueryHelper = changeHistoricalAiringQueryHelper;
     this.changeDeletedAiringQueryHelper    = changeDeletedAiringQueryHelper;
     this.deportExpiredAiringHelper         = deportExpiredAiringHelper;
     this.currentAiringsQuery               = currentAiringsQuery;
     this.deletedAiringsQuery               = deletedAiringsQuery;
     this.updateAiringQueueDelivery         = updateAiringQueueDelivery;
     this.updateDeletedAiringQueueDelivery  = updateDeletedAiringQueueDelivery;
     this.packagePersist                    = packagePersist;
     this.purgeAiringCommand                = purgeAiringCommand;
     this.changeNotificationCommand         = changeNotificaitonCommands;
     this.cntx = cntx;
 }
예제 #2
0
 public Result(IPackageQuery query, PackageIdentity packageIdentity, bool isMatch)
 {
     Query           = query;
     PackageIdentity = packageIdentity;
     IsMatch         = isMatch;
 }
예제 #3
0
 public PackageService(IPackageCommand packagePersist, IPackageQuery packageQuery, IApplicationContext cntx)
 {
     this.packagePersist = packagePersist;
     this.packageQuery   = packageQuery;
     this.cntx           = cntx;
 }