예제 #1
0
 private FortnoxChangeTracker(
     ILogger logger,
     FortnoxQueue fortnoxQueue)
 {
     Logger       = logger;
     FortnoxQueue = fortnoxQueue;
 }
예제 #2
0
        public static async Task <FortnoxQueue> Create(string storageAccountConnectionString)
        {
            var fortnoxQueue = new FortnoxQueue(storageAccountConnectionString);
            await fortnoxQueue.Queue.CreateIfNotExistsAsync();

            return(fortnoxQueue);
        }
예제 #3
0
        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;
 }