Exemple #1
0
        public IntegrationServiceMock
            (IWorkOrderRepository workOrderRepository = null, ILogService loggerService = null,
            IUnitOfWork unitOfWork = null, IUserRepository iUserRepository = null,
            IActivityTypeActivityStatusRepository activityTypeActivityStatusRepository = null,
            IWorkOrderTransactionRepositry iBillingWorkOrderTransactionRepositry       = null,
            IVendorRepository iVendorRepository         = null, IGraphicHeaderRepository iGraphicHeaderRepository = null,
            ICostCenterRepository iCostCenterRepository = null,
            IBudgetByCategoryRollupRepository iBudgetByCategoryRollupRepository = null,
            IDeliverableRepository iDeliverableRepository         = null,
            IWorkOrderVendorRepository iWorkOrderVendorRepository = null,
            //  IActivityRepository iActivityRepository,
            ITrackActivityElementRepository iTrackActivityElementRepository = null,
            ITitleRepository iTitleRepository   = null,
            ISeasonRepository iSeasonRepository = null,
            ISeriesRepository iSeriesRepository = null,
            ITitleCategoryRepository iTitleCategoryRepository       = null,
            IPremiereCategoryRepository iPremiereCategoryRepository = null,
            IScheduleRepository iScheduleRepository = null,
            //  ITrackActivityHeaderRepository iTrackActivityHeaderRepository,
            IDeliverableStatusRepository iDeliverableStatusRepository = null,
            IScriptRepository iScriptRepository     = null,
            IInternalRepository iInternalRepository = null,
            //Contract Request - EDMX fix
            // IContractRequestHeaderRepository iContractRequestHeaderRepository = null,
            // IContractRequestLineRepository iContractRequestLineRepository = null,
            IContentPlanRepository iContentPlanRepository                           = null,
            IContentPlanEventRepository iContentPlanEventRepository                 = null,
            IContentPlanEventDatesRepository iContentPlanEventDatesRepository       = null,
            IContentPlanEventScheduleRepository iContentPlanEventScheduleRepository = null,

            IApprovalRepository iApprovalRepository                           = null,
            IApprovalStatusRepository iApprovalStatusRepository               = null,
            IApprovalTypeRepository iApprovalTypeRepository                   = null,
            ICalendarRepository iCalendarRepository                           = null,
            IDeliverableBudgetRepository iDeliverableBudgetRepository         = null,
            IWBSFiscalYear_ChannelRepository iWBSFiscalYear_ChannelRepository = null,
            ITypeOfWorkRepository iTypeOfWorkRepository                       = null,
            IInvoiceLineRepository iInvoiceLineRepository                     = null,
            IInvoiceHeaderRepository iInvoiceHeaderRepository                 = null,
            //Contract Request - EDMX fix
            IWorkOrderType_Channel_WorkOrderVendorRepository iWorkOrderType_Channel_WorkOrderVendorRepository = null,
            IWBSElementRepository _IWBSElementRepository = null) : base(
                workOrderRepository, loggerService, unitOfWork, iUserRepository, activityTypeActivityStatusRepository,
                iBillingWorkOrderTransactionRepositry, iVendorRepository, iGraphicHeaderRepository, iCostCenterRepository,
                iBudgetByCategoryRollupRepository, iDeliverableRepository, iWorkOrderVendorRepository,
                iTrackActivityElementRepository, iTitleRepository, iSeasonRepository, iSeriesRepository,
                iTitleCategoryRepository, iPremiereCategoryRepository, iScheduleRepository,
                iDeliverableStatusRepository, iScriptRepository, iInternalRepository, /*iContractRequestHeaderRepository,*///Contract Request - EDMX fix
                /*iContractRequestLineRepository,*/ iContentPlanRepository, iContentPlanEventRepository,
                iContentPlanEventDatesRepository, iContentPlanEventScheduleRepository, iApprovalRepository,
                iApprovalStatusRepository, iApprovalTypeRepository, iCalendarRepository, iDeliverableBudgetRepository,
                iWBSFiscalYear_ChannelRepository, iTypeOfWorkRepository, iInvoiceLineRepository, iInvoiceHeaderRepository,
                iWorkOrderType_Channel_WorkOrderVendorRepository, _IWBSElementRepository)
        {
        }
Exemple #2
0
        /// <summary>
        ///  构造函数注入
        /// </summary>
        /// <param name="activityRepository"></param>
        /// <param name="approvalTypeRepository"></param>
        /// <param name="approvalConfigurationRepository"></param>
        public ActivityController(IActivityRepository activityRepository, IApprovalTypeRepository approvalTypeRepository, IApprovalConfigurationRepository approvalConfigurationRepository)
        {
            //活动主表的构造函数注入
            ActivityRepository = activityRepository;

            //活动类型的构造函数注入
            ApprovalTypeRepository = approvalTypeRepository;

            //活动配置表的构造函数注入
            ApprovalConfigurationRepository = approvalConfigurationRepository;
        }
 public DeliverableServiceV2Mock(IMasterVendorViewRepository masterVendorViewRepository = null,
                                 IGraphicHeaderRepository graphicsHeaderRepository      = null,
                                 IPropertyService propertyService     = null,
                                 ICommentRepository commentRepository = null,
                                 IDeliverableDateRepository deliverableDateRepository = null,
                                 IDeliverableRepository deliverableRepository         = null,
                                 IDeliverableCommentService icommentService           = null,
                                 ICommentTypeRepository commentTypeService            = null,
                                 ITalentRepository talentRepository = null,
                                 IDeliverableUserTitleMrmUserRepository deliverableUserTitleMrmUserRepository = null,
                                 IDeliverableSecondaryTargetRepostiory deliverableSecondaryTargetRepository   = null,
                                 IDeliverable_TalentRepository talentDeliverableRepository = null,
                                 IDeliverableStatusRepository deliverableStatusRepository  = null,
                                 IChannelTalentRepository channelTalentRepository          = null,
                                 IDeliverable_TalentRepository deliverableTalentRepository = null,
                                 ICalendarRepository calendarRepository = null,
                                 IUnitOfWork iunitOfWork = null,
                                 IDeliverable_VendorRepository deliverable_VendorRepository = null,
                                 ITrackService itrackService = null,
                                 IActivityTypeActivityStatusRepository activityTypeActivityStatusRepository = null,
                                 ITypeOfWorkRepository typeOfWorkRepository = null,
                                 ITypeOfWorkCategoryRepository typeOfWorkCategoryRepository = null,
                                 IScriptRepository scriptRepository = null,
                                 IChannelDeliverableGroupUserTitleRepository channelDeliverableGroupUserTitleRepository = null,
                                 IApprovalTypeChannelBudgetTypeMRMUserUserTitleRepository approvalTypeChannelBudgetTypeMRMUserUserTitleRepository = null,
                                 IDeliverableDateRepository deliverableDeliverableGroupDeliverableDateTypeRepository = null,
                                 IOffAirDesignRepository offAirDesignRepository = null,
                                 IDeliverableDateTypeRepository deliverableDateTypeRepository = null,
                                 IDeliverableInternationalDetailRepository deliverableInternationalDetailRepository = null,
                                 IDeliverableInternationalPathRepository deliverableInternationalPathRepository     = null,
                                 ICampaignRepository campaignRepository   = null,
                                 IUserTitleRepository userTitleRepository = null,
                                 IDeliverableGroupDeliverableDateTypeRepository deliverableGroupDeliverableDateTypeRepository = null,
                                 IOffAirDesignProductionMethodTypeRepository offAirDesignProductionMethodTypeRepository       = null,
                                 IProductionMethodCategoryRepository productionMethodCategoryRepository = null,
                                 IAssetGroupChannelHouseAdvertiserRepository assetGroupChannelHouseAdvertiserRepository = null,
                                 IPaidMediaRepository paidMediaRepository           = null,
                                 IGraphicHeaderRepository graphicHeaderRepository   = null,
                                 IGraphicElementRepository graphicElementRepository = null,
                                 IGraphicImageRepository graphicImageRepository     = null,
                                 IGraphicElementTypeGraphicPackageChannelRepository graphicElementTypeGraphicPackageChannelRepository = null,
                                 IDeliverableBudgetService budgetService = null,
                                 IPaidMediaInvoiceRepository paidMediaInvoiceRepository = null,
                                 IPaidMediaDetailRepository paidMediaDetailRepository   = null,
                                 IMusicRepository musicRepository = null,
                                 IMusicSubLibraryRepository musicSubLibraryRepository = null,
                                 IDeliverableScriptService scriptService = null,
                                 IDeliverableBudgetRepository deliverableBudgetRepository           = null,
                                 ITrackSearchRepository trackSearchRepository                       = null,
                                 IActivityStatusRepository activityStatusRepository                 = null,
                                 WBSFiscalYear_ChannelRepository wBSFiscalYear_ChannelRepository    = null,
                                 IDeliverableProductionMethodTypeRepository mopDeliverableRepositry = null,
                                 IDeliverableLineOfBusinessRepository lobRepositry                  = null,
                                 IProductionMethodTypeRepository productionMethodTypeRepository     = null,
                                 ILineOfBusinessRepository lineOfBusinessRepository                 = null,
                                 IDeliverableGroupTargetPlatformRepository targetPlatformRepository = null,
                                 ITrackActivityElementRepository trackActivityElementRepository     = null,
                                 IDeliverableGroupRepository deliverableGroupRepository             = null,
                                 IApprovalTypeRepository approvalTypeRepository                     = null,
                                 IApprovalService approvalService                   = null,
                                 IDepartmentRepository departmentRepository         = null,
                                 IDeliverableScriptService deliverableScriptService = null,
                                 IDeliverable_BusinessAreaRepository deliverable_BusinessAreaRepository = null,
                                 IChannelRepository channelRepository = null,
                                 IVendorRepository vendorRepository   = null,
                                 IContractRequest_DeliverableRepository ContractRequestDeliverableRepository = null,
                                 IUserRepository userRepository = null
                                 )
     : base(masterVendorViewRepository, graphicsHeaderRepository, propertyService, commentRepository, deliverableDateRepository, deliverableRepository, icommentService, commentTypeService, talentRepository, deliverableUserTitleMrmUserRepository, deliverableSecondaryTargetRepository, talentDeliverableRepository, deliverableStatusRepository, channelTalentRepository,
            deliverableTalentRepository, calendarRepository, iunitOfWork, deliverable_VendorRepository, itrackService, activityTypeActivityStatusRepository, typeOfWorkRepository, typeOfWorkCategoryRepository, scriptRepository, channelDeliverableGroupUserTitleRepository,
            approvalTypeChannelBudgetTypeMRMUserUserTitleRepository, deliverableDeliverableGroupDeliverableDateTypeRepository, offAirDesignRepository, deliverableDateTypeRepository, deliverableInternationalDetailRepository, deliverableInternationalPathRepository, campaignRepository, userTitleRepository, deliverableGroupDeliverableDateTypeRepository, offAirDesignProductionMethodTypeRepository, productionMethodCategoryRepository, assetGroupChannelHouseAdvertiserRepository, paidMediaRepository, graphicHeaderRepository,
            graphicElementRepository, graphicImageRepository, graphicElementTypeGraphicPackageChannelRepository, budgetService, paidMediaInvoiceRepository, paidMediaDetailRepository, musicRepository, musicSubLibraryRepository, scriptService, deliverableBudgetRepository, trackSearchRepository, activityStatusRepository, wBSFiscalYear_ChannelRepository, mopDeliverableRepositry, lobRepositry,
            productionMethodTypeRepository, lineOfBusinessRepository, targetPlatformRepository, trackActivityElementRepository,
            deliverableGroupRepository, approvalTypeRepository, approvalService, departmentRepository,
            deliverableScriptService, deliverable_BusinessAreaRepository, channelRepository, vendorRepository, ContractRequestDeliverableRepository, userRepository)
 {
 }