public class RepoSyncActionResult{
//Properties
string ActionName {get;set;};
bool Succes {get;set;};
SN.Client.Content SourceContent{get;set;};
SN.Client.Content TargetContent{get;set;};
Exception FaultReason {get;set;};
}
interface IRepoSyncProvider{
public IProviderSetting {get;set;};
public IRepoSyncFilter {get;set;};
public SN.Client.Content Load(string Path);
public List<string> ReadPaths(); //By filter
public List<SN.Client.Content> Read(); //Get All path list, and Get them.
public List<RepoSyncActionResult> Write(List<SN.Client.Content> contents);
}
Draft: