private FortnoxChangeTracker( ILogger logger, FortnoxQueue fortnoxQueue) { Logger = logger; FortnoxQueue = fortnoxQueue; }
public static async Task <FortnoxQueue> Create(string storageAccountConnectionString) { var fortnoxQueue = new FortnoxQueue(storageAccountConnectionString); await fortnoxQueue.Queue.CreateIfNotExistsAsync(); return(fortnoxQueue); }
public static async Task <FortnoxChangeTracker> Create( ILogger logger, string storageAccountConnectionString) { var fortnoxQueue = await FortnoxQueue.Create(storageAccountConnectionString); return(new FortnoxChangeTracker(logger, fortnoxQueue)); }
public static WebcrmToFortnoxChangeTracker Create( ILogger logger, WebcrmClientFactory webcrmClientFactory, FortnoxQueue fortnoxQueue) { var webcrmChangeTracker = new WebcrmToFortnoxChangeTracker(logger, webcrmClientFactory, fortnoxQueue); return(webcrmChangeTracker); }
private WebcrmToFortnoxChangeTracker( ILogger logger, WebcrmClientFactory webcrmClientFactory, FortnoxQueue fortnoxQueue) { Logger = logger; WebcrmClientFactory = webcrmClientFactory; Fortnox = fortnoxQueue; }