Beispiel #1
0
        public static async Task <SyncthingContext> CreateAsync(SyncthingApiEndpoint apiEndpoint)
        {
            var instance = new SyncthingContext(apiEndpoint);
            await instance.ParseAsync();

            return(instance);
        }
Beispiel #2
0
 public InternalConfigWatcher(SyncthingContext ctx)
 {
     this.ctx = ctx;
 }