public InvoiceService(IInvoicesRepository invoiceRepository, IInvoiceAutoNumberGenerator invNumberGenerator, MongoConfig mongo, IBus bus) { this.invRepo = invoiceRepository; this.gen = invNumberGenerator; this.mongo = mongo; this.bus = bus; }
public void Init() { NServiceBus.Configure.With() .DefaultBuilder() .BinarySerializer() .MsmqSubscriptionStorage(); mongo = new MongoConfig(); NServiceBus.Configure.Instance.Configurer.RegisterSingleton<MongoConfig>(mongo); NServiceBus.Configure.Instance.Configurer.ConfigureComponent<InvoiceAutoNumberGenerator>(NServiceBus.ObjectBuilder.ComponentCallModelEnum.Singlecall); }
public AccountRepository(MongoConfig mongoConfig) { mongo = mongoConfig; }
public CustomerReportRepository(MongoConfig mongo) { this.mongo = mongo; }
public GroupService(MongoConfig mongo) { collections = mongo.MongoDatabase.GetCollection(typeof(Group).Name); }
public ItemQuery(MongoConfig mongoConfig) { _document = mongoConfig.MongoDatabase.GetCollection(typeof(Item).Name); _reports = mongoConfig.MongoDatabase.GetCollection(typeof(ItemReports).Name); }
public PaymentTermsQuery(MongoConfig config) { _collections = config.MongoDatabase.GetCollection(typeof(PaymentTerms).Name); }
public GroupQuery(MongoConfig config) { _collections = config.MongoDatabase.GetCollection(typeof(Group).Name); }
public PaymentTermsService(MongoConfig mongo) { collections = mongo.MongoDatabase.GetCollection(typeof(PaymentTerms).Name); }
public OrganizationReportRepository(MongoConfig mongoConfig) { mongo = mongoConfig; }
public CurrencyService(MongoConfig mongo,IBus bus) { _collections = mongo.MongoDatabase.GetCollection(typeof(Currencies).Name); _bus = bus; }
public InvoicesRepository(MongoConfig mongo) { this.mongo = mongo; }
public PaymentRepository(MongoConfig mongo) { this.Mongo = mongo; }
public CustomerService(MongoConfig mongo, IBus bus) { this.mongo = mongo; this.bus = bus; }
public InvoiceAutoNumberGenerator(MongoConfig mongoConfig) { this.mongo = mongoConfig; }
public ServiceTax(MongoConfig mongo, IBus bus) { _collections = mongo.MongoDatabase.GetCollection(typeof(Taxes).Name); _bus = bus; }
public TaxQueryRepository(MongoConfig mongo) { _collections = mongo.ReportingDatabase.GetCollection(typeof(Taxes).Name); }
public LogoOrganizationQuery(MongoConfig config) { _collection = config.MongoDatabase.GetCollection(typeof(LogoOrganization).Name); }
public CurrencyQueryRepository(MongoConfig mongo) { _collections = mongo.ReportingDatabase.GetCollection(typeof(Currencies).Name); }