예제 #1
0
 public PaymentPlanProcessor(IPaymentProcessor processor, IOntraportContacts ontraContacts, IOntraportPaymentPlans ontraPlans, IRandomGenerator random, IOptions <PaymentProcessorConfig> config)
 {
     _processor     = processor;
     _ontraContacts = ontraContacts;
     _ontraPlans    = ontraPlans;
     _random        = random;
     _config        = config;
 }
예제 #2
0
 public OntraportProcessor(IOntraportContacts ontraContacts, IOntraportProducts ontraProducts, IOntraportTransactions ontraTransact, IAppCache cache, IOptions <PaymentProcessorConfig> config)
 {
     _ontraContacts = ontraContacts;
     _ontraProducts = ontraProducts;
     _ontraTransact = ontraTransact;
     _cache         = cache;
     _config        = config;
 }
예제 #3
0
        public Samples()
        {
            var httpClient = new ConfigHelper().GetHttpClient();

            _ontraContacts     = new OntraportContacts <ApiContact>(httpClient, new OntraportObjects(httpClient));
            _ontraProducts     = new OntraportProducts(httpClient);
            _ontraTransactions = new OntraportTransactions(httpClient);
            _ontraPostForms    = new OntraportPostForms(new HttpClient());
        }
예제 #4
0
 public AdminCoachingSessionModel(IOptions <AppPathsConfig> config, IDateTimeService dateService, IFormFileHelper formHelper, IDateTimeService datetimeService, IOntraportContacts ontraContacts, IOntraportRecordings ontraRecordings)
 {
     _config          = config;
     _dateService     = dateService;
     _formHelper      = formHelper;
     _dateTimeService = datetimeService;
     _ontraContacts   = ontraContacts;
     _ontraRecordings = ontraRecordings;
 }
예제 #5
0
 public IndexModel(IOntraportContacts ontraportContacts)
 {
     _ontraportContacts = ontraportContacts;
 }
 public AdminGodConnectionModel(IOptions <AppPathsConfig> config, IOntraportContacts ontraContacts, IOntraportPostForms ontraPostForms)
 {
     _config         = config;
     _ontraContacts  = ontraContacts;
     _ontraPostForms = ontraPostForms;
 }
예제 #7
0
 public CustomUserStore(IOntraportContacts ontraportContacts)
 {
     _ontraportContacts = ontraportContacts;
 }
예제 #8
0
 public OntraportUserStore(IOntraportContacts <TContact> ontraportContacts, IRoleStore <TRole> roleStore)
 {
     _ontraportContacts = ontraportContacts;
     _roleStore         = roleStore;
 }
예제 #9
0
 public AdminEnergyReadingModel(IOptions <AppPathsConfig> config, IOntraportContacts ontraContacts, IOntraportReadings ontraReadings)
 {
     _config        = config;
     _ontraContacts = ontraContacts;
     _ontraReadings = ontraReadings;
 }