Esempio n. 1
0
 public FileService(
     IDateService dateServce,
     IHostingEnvironment hostingEnvironment)
 {
     _hostingEnvironment = hostingEnvironment;
     _dateService        = dateServce;
 }
 public PerformanceRecorderDirectConsoleOutput(IDateService dateService)
 {
     this.dateService     = dateService;
     durationMeasurements = new List <double>();
     countSinceLastOutput = 0;
     totalBytesReceived   = 0;
 }
Esempio n. 3
0
 public CacheManager(IDateService dateService, Config config)
 {
     this.dateService  = dateService;
     this.VideoRegInfo = new TimestamptCache <string, VideoRegInfo>(dateService);
     this.Cameras      = new TimestamptCache <Camera, Snapshot>(dateService);
     this.config       = config;
 }
Esempio n. 4
0
        public OvernightSwapNotificationService(
            IOvernightSwapCache overnightSwapCache,
            IAssetPairsCache assetPairsCache,
            IAccountsCacheService accountsCacheService,
            IEmailService emailService,
            IClientAccountService clientAccountService,
            IDateService dateService,

            IOvernightSwapHistoryRepository overnightSwapHistoryRepository,

            IThreadSwitcher threadSwitcher,

            ILog log)
        {
            _overnightSwapCache   = overnightSwapCache;
            _assetPairsCache      = assetPairsCache;
            _accountsCacheService = accountsCacheService;
            _emailService         = emailService;
            _clientAccountService = clientAccountService;
            _dateService          = dateService;

            _overnightSwapHistoryRepository = overnightSwapHistoryRepository;

            _threadSwitcher = threadSwitcher;

            _log = log;
        }
 public ExternalOrderbookService(
     IEventChannel <BestPriceChangeEventArgs> bestPriceChangeEventChannel,
     IOrderBookProviderApi orderBookProviderApi,
     IDateService dateService,
     IConvertService convertService,
     IAssetPairDayOffService assetPairDayOffService,
     IScheduleSettingsCacheService scheduleSettingsCache,
     IAssetPairsCache assetPairsCache,
     ICqrsSender cqrsSender,
     IIdentityGenerator identityGenerator,
     ILog log,
     MarginTradingSettings marginTradingSettings)
 {
     _bestPriceChangeEventChannel = bestPriceChangeEventChannel;
     _orderBookProviderApi        = orderBookProviderApi;
     _dateService            = dateService;
     _convertService         = convertService;
     _assetPairDayOffService = assetPairDayOffService;
     _scheduleSettingsCache  = scheduleSettingsCache;
     _assetPairsCache        = assetPairsCache;
     _cqrsSender             = cqrsSender;
     _identityGenerator      = identityGenerator;
     _log = log;
     _marginTradingSettings = marginTradingSettings;
 }
        public BusinessLogicTest()
        {
            _InMemoryDB = new InMemoryDBUtility();

            _profile = new Profile
            {
                FirstName      = "aniha",
                LastName       = "patil",
                AlternateEmail = "*****@*****.**",
                MobileNumber   = 2565987456,
                Occupation     = "Student",
                Gender         = "Female"
            };

            _user = new User
            {
                UserName     = "******",
                Password     = "******",
                Email        = "*****@*****.**",
                MobileNumber = 9685744263,
            };
            _userRepository = new UserRepository(_InMemoryDB.GetUserContext());
            _userService    = new UserService(_userRepository);

            _dateRepository = new DateRepository(_InMemoryDB.GetDateContext());
            _dateService    = new DateService(_dateRepository);
        }
Esempio n. 7
0
 public BlackSholesSteps()
 {
     dateService = new FixedDateService { Now = new DateTime(2012, 1, 1) };
     pricer = new Pricer();
     pricer.DateService = dateService;
     pricer.MarketDataService = Rhino.Mocks.MockRepository.GenerateStub<IMarketDataService>();
 }
Esempio n. 8
0
 public IsAliveController(
     MarginTradingSettings settings,
     IDateService dateService)
 {
     _settings    = settings;
     _dateService = dateService;
 }
Esempio n. 9
0
 public AccountManager(
     AccountsCacheService accountsCacheService,
     MarginTradingSettings marginSettings,
     IRabbitMqNotifyService rabbitMqNotifyService,
     ILog log,
     OrdersCache ordersCache,
     ITradingEngine tradingEngine,
     IAccountsApi accountsApi,
     IAccountBalanceHistoryApi accountBalanceHistoryApi,
     IConvertService convertService,
     IDateService dateService,
     ISystemClock systemClock,
     IAccountMarginFreezingRepository accountMarginFreezingRepository,
     IAccountMarginUnconfirmedRepository accountMarginUnconfirmedRepository)
     : base(nameof(AccountManager), 60000, log)
 {
     _accountsCacheService  = accountsCacheService;
     _marginSettings        = marginSettings;
     _rabbitMqNotifyService = rabbitMqNotifyService;
     _log                                = log;
     _ordersCache                        = ordersCache;
     _tradingEngine                      = tradingEngine;
     _accountsApi                        = accountsApi;
     _accountBalanceHistoryApi           = accountBalanceHistoryApi;
     _convertService                     = convertService;
     _dateService                        = dateService;
     _systemClock                        = systemClock;
     _accountMarginFreezingRepository    = accountMarginFreezingRepository;
     _accountMarginUnconfirmedRepository = accountMarginUnconfirmedRepository;
 }
Esempio n. 10
0
 public GetPostListByUserQuery(
     IPostRepository postRepository,
     IDateService dateService)
 {
     _postRepository = postRepository;
     _dateService    = dateService;
 }
Esempio n. 11
0
 public SpecialLiquidationSaga(
     IDateService dateService,
     IChaosKitty chaosKitty,
     IOperationExecutionInfoRepository operationExecutionInfoRepository,
     IRfqService specialLiquidationService,
     MarginTradingSettings marginTradingSettings,
     CqrsContextNamesSettings cqrsContextNamesSettings,
     LiquidationHelper liquidationHelper,
     OrdersCache ordersCache,
     IRfqPauseService rfqPauseService,
     ILog log,
     IAssetPairsCache assetPairsCache)
 {
     _dateService = dateService;
     _chaosKitty  = chaosKitty;
     _operationExecutionInfoRepository = operationExecutionInfoRepository;
     _specialLiquidationService        = specialLiquidationService;
     _marginTradingSettings            = marginTradingSettings;
     _cqrsContextNamesSettings         = cqrsContextNamesSettings;
     _liquidationHelper = liquidationHelper;
     _ordersCache       = ordersCache;
     _rfqPauseService   = rfqPauseService;
     _log             = log;
     _assetPairsCache = assetPairsCache;
 }
Esempio n. 12
0
 public HashtagService(
     IDateService dateService,
     IBaseRepository <Hashtag, long> repository)
 {
     _dateService = dateService ?? throw new ArgumentNullException(nameof(dateService));
     _repository  = repository ?? throw new ArgumentNullException(nameof(repository));
 }
Esempio n. 13
0
 public FinalSnapshotCalculator(ICfdCalculatorService cfdCalculatorService, ILog log, IDateService dateService, IDraftSnapshotKeeper draftSnapshotKeeper)
 {
     _cfdCalculatorService = cfdCalculatorService;
     _log                 = log;
     _dateService         = dateService;
     _draftSnapshotKeeper = draftSnapshotKeeper;
 }
Esempio n. 14
0
 public Engine(IWriter writer, IReader reader, ISalaryCalculator salaryCalculator, IDateService dateService)
 {
     this.reader           = reader;
     this.writer           = writer;
     this.salaryCalculator = salaryCalculator;
     this.dateService      = dateService;
 }
Esempio n. 15
0
 public LiquidationCommandsHandler(
     IAccountsCacheService accountsCache,
     IDateService dateService,
     IOperationExecutionInfoRepository operationExecutionInfoRepository,
     IChaosKitty chaosKitty,
     ITradingEngine tradingEngine,
     OrdersCache ordersCache,
     ILog log,
     IAccountUpdateService accountUpdateService,
     IEventChannel <LiquidationEndEventArgs> liquidationEndEventChannel,
     LiquidationHelper liquidationHelper,
     ILiquidationFailureExecutor failureExecutor)
 {
     _accountsCache = accountsCache;
     _dateService   = dateService;
     _operationExecutionInfoRepository = operationExecutionInfoRepository;
     _chaosKitty                 = chaosKitty;
     _tradingEngine              = tradingEngine;
     _ordersCache                = ordersCache;
     _log                        = log;
     _accountUpdateService       = accountUpdateService;
     _liquidationEndEventChannel = liquidationEndEventChannel;
     _liquidationHelper          = liquidationHelper;
     _failureExecutor            = failureExecutor;
 }
Esempio n. 16
0
 public SpecialLiquidationCommandsHandler(
     ITradingEngine tradingEngine,
     IDateService dateService,
     IOrderReader orderReader,
     IChaosKitty chaosKitty,
     IOperationExecutionInfoRepository operationExecutionInfoRepository,
     ILog log,
     MarginTradingSettings marginTradingSettings,
     IAssetPairsCache assetPairsCache,
     IAssetPairDayOffService assetPairDayOffService,
     IExchangeConnectorService exchangeConnectorService,
     IIdentityGenerator identityGenerator,
     IAccountsCacheService accountsCacheService)
 {
     _tradingEngine = tradingEngine;
     _dateService   = dateService;
     _orderReader   = orderReader;
     _chaosKitty    = chaosKitty;
     _operationExecutionInfoRepository = operationExecutionInfoRepository;
     _log = log;
     _marginTradingSettings    = marginTradingSettings;
     _assetPairsCache          = assetPairsCache;
     _assetPairDayOffService   = assetPairDayOffService;
     _exchangeConnectorService = exchangeConnectorService;
     _identityGenerator        = identityGenerator;
     _accountsCacheService     = accountsCacheService;
 }
Esempio n. 17
0
 public LightweightExternalOrderbookService(
     IEventChannel <BestPriceChangeEventArgs> bestPriceChangeEventChannel,
     IOrderBookProviderApi orderBookProviderApi,
     IDateService dateService,
     IConvertService convertService,
     IScheduleSettingsCacheService scheduleSettingsCache,
     IAssetPairDayOffService assetPairDayOffService,
     IAssetPairsCache assetPairsCache,
     ICqrsSender cqrsSender,
     IIdentityGenerator identityGenerator,
     ILog log,
     MarginTradingSettings marginTradingSettings)
 {
     _bestPriceChangeEventChannel = bestPriceChangeEventChannel;
     _orderBookProviderApi        = orderBookProviderApi;
     _dateService            = dateService;
     _convertService         = convertService;
     _scheduleSettingsCache  = scheduleSettingsCache;
     _assetPairDayOffService = assetPairDayOffService;
     _assetPairsCache        = assetPairsCache;
     _cqrsSender             = cqrsSender;
     _identityGenerator      = identityGenerator;
     _log = log;
     _defaultExternalExchangeId = string.IsNullOrEmpty(marginTradingSettings.DefaultExternalExchangeId)
         ? "Default"
         : marginTradingSettings.DefaultExternalExchangeId;
     _orderbookValidation = marginTradingSettings.OrderbookValidation;
 }
Esempio n. 18
0
        public PostFactory(
            IDateService dateService,
            IUserContext userContext,
            IPostRepository postRepository,
            ITagRepository tagRepository,
            ITagFactory tagFactory,
            IWebsiteInfo websiteInfo
            )
        {
            dateService.CheckArgumentIsNull();
            _dateService = dateService;

            userContext.CheckArgumentIsNull();
            _userContext = userContext;

            postRepository.CheckArgumentIsNull();
            _postRepository = postRepository;

            tagRepository.CheckArgumentIsNull(nameof(tagRepository));
            _tagRepository = tagRepository;

            tagFactory.CheckArgumentIsNull(nameof(tagFactory));
            _tagFactory = tagFactory;

            websiteInfo.CheckArgumentIsNull(nameof(websiteInfo));
            _websiteInfo = websiteInfo;
        }
Esempio n. 19
0
 public CreatePieceCommand(
     IPieceRepositoryFacade repository,
     IDateService dateService,
     IPieceFactory pieceFactory,
     IArtistFactory artistFactory,
     IMediumFactory mediumFactory,
     IGenreFactory genreFactory,
     ISubgenreFactory subgenreFactory,
     ISubjectMatterFactory subjectMatterFactory,
     IAcquisitionFactory acquisitionFactory,
     IFundingSourceFactory fundingSourceFactory,
     IPieceSourceFactory pieceSourceFactory,
     ILocationFactory locationFactory,
     ICollectionFactory collectionFactory,
     IUnitOfWork unitOfWork)
 {
     this.repository           = repository;
     this.dateService          = dateService;
     this.pieceFactory         = pieceFactory;
     this.artistFactory        = artistFactory;
     this.mediumFactory        = mediumFactory;
     this.genreFactory         = genreFactory;
     this.subgenreFactory      = subgenreFactory;
     this.subjectMatterFactory = subjectMatterFactory;
     this.acquisitionFactory   = acquisitionFactory;
     this.fundingSourceFactory = fundingSourceFactory;
     this.pieceSourceFactory   = pieceSourceFactory;
     this.locationFactory      = locationFactory;
     this.collectionFactory    = collectionFactory;
     this.unitOfWork           = unitOfWork;
 }
Esempio n. 20
0
 public LayoutFactory(
     IDateService dateSvc
     )
 {
     dateSvc.CheckArgumentIsNull();
     _dateSvc = dateSvc;
 }
        public ExceptionTest()
        {
            MongoDBUtility mongoDBUtility = new MongoDBUtility();

            context = mongoDBUtility.MongoDBContext;

            _profile = new Profile
            {
                FirstName      = "aniha",
                LastName       = "patil",
                AlternateEmail = "*****@*****.**",
                MobileNumber   = 2565987456,
                Occupation     = "Student",
                Gender         = "Female"
            };

            _user = new User
            {
                UserName     = "******",
                Password     = "******",
                Email        = "*****@*****.**",
                MobileNumber = 9685744263,
            };
            _userRepository = new UserRepository(context);
            _userService    = new UserService(_userRepository);

            _dateRepository = new DateRepository(context);
            _dateService    = new DateService(_dateRepository);
        }
Esempio n. 22
0
 public ValidateOrderService(
     IQuoteCacheService quoteCashService,
     IAccountUpdateService accountUpdateService,
     IAccountsCacheService accountsCacheService,
     ITradingInstrumentsCacheService accountAssetsCacheService,
     IAssetPairsCache assetPairsCache,
     OrdersCache ordersCache,
     IAssetPairDayOffService assetDayOffService,
     IIdentityGenerator identityGenerator,
     IDateService dateService,
     MarginTradingSettings marginSettings,
     ICfdCalculatorService cfdCalculatorService)
 {
     _quoteCashService        = quoteCashService;
     _accountUpdateService    = accountUpdateService;
     _accountsCacheService    = accountsCacheService;
     _tradingInstrumentsCache = accountAssetsCacheService;
     _assetPairsCache         = assetPairsCache;
     _ordersCache             = ordersCache;
     _assetDayOffService      = assetDayOffService;
     _identityGenerator       = identityGenerator;
     _dateService             = dateService;
     _marginSettings          = marginSettings;
     _cfdCalculatorService    = cfdCalculatorService;
 }
 public PerformanceRecorderDirectConsoleOutput(IDateService dateService)
 {
     this.dateService = dateService;
     durationMeasurements = new List<double>();
     countSinceLastOutput = 0;
     totalBytesReceived = 0;
 }
Esempio n. 24
0
 public AddQuestionHandler(IUnitOfWork unitOfWork, IDateService dateService, IMediator mediator, IUser user)
 {
     _unitOfWork  = unitOfWork;
     _dateService = dateService;
     _mediator    = mediator;
     _user        = user;
 }
Esempio n. 25
0
 public PostRepository(
     IBehlogContext context,
     IDateService dateService) : base(context)
 {
     dateService.CheckArgumentIsNull();
     _dateService = dateService;
 }
Esempio n. 26
0
 public ValidateOrderService(
     IQuoteCacheService quoteCashService,
     IAccountUpdateService accountUpdateService,
     IAccountsCacheService accountsCacheService,
     ITradingInstrumentsCacheService accountAssetsCacheService,
     IAssetPairsCache assetPairsCache,
     OrdersCache ordersCache,
     IAssetPairDayOffService assetDayOffService,
     IIdentityGenerator identityGenerator,
     IDateService dateService,
     MarginTradingSettings marginSettings,
     ICfdCalculatorService cfdCalculatorService,
     IFeatureManager featureManager,
     CorrelationContextAccessor correlationContextAccessor)
 {
     _quoteCashService           = quoteCashService;
     _accountUpdateService       = accountUpdateService;
     _accountsCacheService       = accountsCacheService;
     _tradingInstrumentsCache    = accountAssetsCacheService;
     _assetPairsCache            = assetPairsCache;
     _ordersCache                = ordersCache;
     _assetDayOffService         = assetDayOffService;
     _identityGenerator          = identityGenerator;
     _dateService                = dateService;
     _marginSettings             = marginSettings;
     _cfdCalculatorService       = cfdCalculatorService;
     _featureManager             = featureManager;
     _correlationContextAccessor = correlationContextAccessor;
 }
Esempio n. 27
0
 public OvernightSwapService(
     IOvernightSwapCache overnightSwapCache,
     IAccountAssetsCacheService accountAssetsCacheService,
     IAccountsCacheService accountsCacheService,
     ICommissionService commissionService,
     IOvernightSwapStateRepository overnightSwapStateRepository,
     IOvernightSwapHistoryRepository overnightSwapHistoryRepository,
     IOrderReader orderReader,
     IThreadSwitcher threadSwitcher,
     IDateService dateService,
     AccountManager accountManager,
     MarginSettings marginSettings,
     ILog log)
 {
     _overnightSwapCache             = overnightSwapCache;
     _accountAssetsCacheService      = accountAssetsCacheService;
     _accountsCacheService           = accountsCacheService;
     _commissionService              = commissionService;
     _overnightSwapStateRepository   = overnightSwapStateRepository;
     _overnightSwapHistoryRepository = overnightSwapHistoryRepository;
     _orderReader    = orderReader;
     _threadSwitcher = threadSwitcher;
     _dateService    = dateService;
     _accountManager = accountManager;
     _marginSettings = marginSettings;
     _log            = log;
 }
Esempio n. 28
0
 public Facade(IUnitStore unitStore, ICustomerStore customerStore, ITenancyStore tenancyStore, IDateService dateService)
 {
     this.unitStore     = unitStore ?? throw new ArgumentNullException(nameof(unitStore));
     this.customerStore = customerStore ?? throw new ArgumentNullException(nameof(customerStore));
     this.tenancyStore  = tenancyStore ?? throw new ArgumentNullException(nameof(tenancyStore));
     this.dateService   = dateService ?? throw new ArgumentNullException(nameof(dateService));
 }
Esempio n. 29
0
        public BusinessLogicTest()
        {
            _profile = new Profile
            {
                FirstName      = "pragati",
                LastName       = "patil",
                AlternateEmail = "*****@*****.**",
                MobileNumber   = 2565987456,
                Occupation     = "Student",
                Gender         = "Female"
            };

            _user = new User
            {
                UserName     = "******",
                Password     = "******",
                Email        = "*****@*****.**",
                MobileNumber = 9685744263,
                UserStatus   = UserStatus.Active
            };

            MongoDBUtility mongoDBUtility = new MongoDBUtility();

            context         = mongoDBUtility.MongoDBContext;
            _userRepository = new UserRepository(context);
            _userService    = new UserService(_userRepository);

            _dateRepository = new DateRepository(context);
            _dateService    = new DateService(_dateRepository);
        }
Esempio n. 30
0
 public DataContext(DbContextOptions <DataContext> options,
                    ICurrentUserService currentUser,
                    IDateService date) : base(options)
 {
     _date        = date;
     _currentUser = currentUser;
 }
Esempio n. 31
0
 public EmployeeService(IMapper mapper, IDateService dateService, IPositionRepository positionRepository, IEmployeeRepository employeeRepository)
 {
     _dateService        = dateService;
     _mapper             = mapper;
     _positionRepository = positionRepository;
     _employeeRepository = employeeRepository;
 }
Esempio n. 32
0
 public EditResumeController(IUserInfoService userInfoService, IStudentService studentService, IResumeService resumeService,
                             IStreamService streamService, ISummaryService summaryService, ICertificateExamService certificateExamService,
                             ISkillService skillService, IForeignLanguageService languageService, IEducationService educationService,
                             ICourseService courseService, ICertificateService certificateService, IExamService examService,
                             IWorkExperienceService workExperienceService, IPortfolioService portfolioService, IMilitaryStatusService militaryStatusService,
                             IRecommendationService recommendationService, IAdditionalInfoService additionalInfoService, IDateService dateService,
                             IEditResumeService editResumeService)
 {
     _userInfoService        = userInfoService;
     _studentService         = studentService;
     _resumeService          = resumeService;
     _streamService          = streamService;
     _summaryService         = summaryService;
     _skillService           = skillService;
     _languageService        = languageService;
     _educationService       = educationService;
     _courseService          = courseService;
     _certificateService     = certificateService;
     _examService            = examService;
     _workExperienceService  = workExperienceService;
     _portfolioService       = portfolioService;
     _militaryStatusService  = militaryStatusService;
     _additionalInfoService  = additionalInfoService;
     _recommendationService  = recommendationService;
     _dateService            = dateService;
     _certificateExamService = certificateExamService;
     _editResumeService      = editResumeService;
 }
 public OrderDispatcher(IOutgoingQueue outgoingQueue, ILogger logger, IDateService dateService, IOrderRepository orderRepository)
 {
     this.outgoingQueue = outgoingQueue;
     this.logger = logger;
     this.dateService = dateService;
     this.orderRepository = orderRepository;
     OrderBooks = new Dictionary<string, IOrderBook>();
 }
Esempio n. 34
0
 public CreditController(IUserService userService, IRequestService requestService, ICreditService creditService,
     ICreditPaymentService creditPaymentService, IDateService dateService) : base(userService)
 {
     this.requestService = requestService;
     this.creditService = creditService;
     this.creditPaymentService = creditPaymentService;
     this.dateService = dateService;
 }
Esempio n. 35
0
 public DepositController(IDepositService depositService, IUserService userService,
     IRequestService requestService, IDepositPaymentService depositPaymentService, IDateService dateService) : base(userService)
 {
     this.depositService = depositService;
     this.requestService = requestService;
     this.depositPaymentService = depositPaymentService;
     this.dateService = dateService;
 }
 public IncomingMessageProcessor(IOrderRepository ordeRepository, IOutgoingQueue outgoingQueue, IDateService dateService, IOrderDispatcher dispatcher, ISerializer serializer)
 {
     this.ordeRepository = ordeRepository;
     this.outgoingQueue = outgoingQueue;
     this.dateService = dateService;
     this.dispatcher = dispatcher;
     this.serializer = serializer;
     queueBuffer = new byte[512];
 }
 public CreateSaleCommand(
     IDateService dateService,
     IDatabaseContext database,
     ISaleFactory factory,
     IInventoryClient client)
 {
     _dateService = dateService;
     _database = database;
     _factory = factory;
     _client = client;
 }
 public BrowseController(
   IWebLocationPubTitlesService weblocationpubtitlesService,
   ICountryService countryService,
   IDateService dateService,
   IBrowseDataService browseDataService,
   IclsCookies clsCookie,
   IContextDataHandler common,
   IPublicationService PublicationService,
   IRecentSavedSearchService savedSearchService,
   IBrowserResultDetailService browserResultDetail,
   ICacheManager cacheManager)
 {
     this._weblocationpubtitlesService = weblocationpubtitlesService;
     this._countryService = countryService;
     this._browserResultDetail = browserResultDetail;
     this._dateService = dateService;
     this._BrowseDataService = browseDataService;
     this._clsCookie = clsCookie;
     this._common = common;
     this._PublicationServices = PublicationService;
     this._savedSearchService = savedSearchService;
     //Added below line by Vishal Tyagi
     this._cacheManager = cacheManager;
 }
Esempio n. 39
0
 public TaskController(ITaskService taskService, IDateService dateService)
 {
     _taskService = taskService;
     _dateService = dateService;
     _userManager = System.Web.HttpContext.Current.GetOwinContext().GetUserManager<CustomUserManager>();
 }
Esempio n. 40
0
 public HomeController(IMessageService messageService, IDateService dateService)
 {
     MessageService = messageService;
     DateService = dateService;
 }
Esempio n. 41
0
 public HomeController(IUserService _userService, IDateService dateService)
 {
     this.service = _userService;
     this.dateService = dateService;
 }
Esempio n. 42
0
 public DepositService(IDepositTypeRepository depositTypeRepository, IDepositRepository depositRepository, IDateService dateService)
 {
     this.depositTypeRepository = depositTypeRepository;
     this.depositRepository = depositRepository;
     this.dateService = dateService;
 }
 public DepositPaymentService(IDepositPaymentRepository depositPaymentRepository, IDepositRepository depositRepository, IDateService dateService)
 {
     this.depositPaymentRepository = depositPaymentRepository;
     this.depositRepository = depositRepository;
     this.dateService = dateService;
 }
 public void Setup()
 {
     dateServiceMock = MockRepository.GenerateMock<IDateService>();
 }
Esempio n. 45
0
 public CommentService(ICommentRepository commentRepository, IDateService dateService)
 {
     this.commentRepository = commentRepository;
     this.dateService = dateService;
 }
 public MarketOrderMatchingAlgorithm(IDateService dateService)
 {
     this.dateService = dateService;
     executionHandlers = new List<Action<INewExecution>>();
 }
Esempio n. 47
0
 public RequestService(IRequestRepository requestRepository, IDateService dateService)
 {
     this.requestRepository = requestRepository;
     this.dateService = dateService;
 }
Esempio n. 48
0
 public CreditService(ICreditRepository creditRepository, ICreditTypeReporsitory creditTypeReporsitory, IDateService dateService)
 {
     this.creditRepository = creditRepository;
     this.creditTypeReporsitory = creditTypeReporsitory;
     this.dateService = dateService;
 }
 public CreditPaymentService(ICreditRepository creditRepository, ICreditPaymentRepository creditPaymentRepository, IDateService dateService)
 {
     this.creditRepository = creditRepository;
     this.creditPaymentRepository = creditPaymentRepository;
     this.dateService = dateService;
 }