Open marosvolgyiz opened 7 years ago
Draft:
interface IProviderSetting{ string user {get;set;} ... }
SNClientLibraryProviderSetting : IProviderSetting, BaseSetting
var from = SNClientLibraryProvider(new SNClientLibraryProviderSetting{
})
RepoSync(IProvider from, IProvider to, SyncSettings settings)
public class BaseSetting{ public BaseSetting(){} public BaseSetting(string jsonSetting) { TODO: implement, newtonsoft json! } }
Draft:
interface IProviderSetting{ string user {get;set;} ... }
SNClientLibraryProviderSetting : IProviderSetting, BaseSetting
var from = SNClientLibraryProvider(new SNClientLibraryProviderSetting{
})
RepoSync(IProvider from, IProvider to, SyncSettings settings)
public class BaseSetting{ public BaseSetting(){} public BaseSetting(string jsonSetting) { TODO: implement, newtonsoft json! } }