Пример #1
0
        public void Export(string SharePointSiteUrl, string SharePointUserName, string SharePointPassword, string ExportPath)
        {
            var export = new RegisteredExporters().GetExporters(SharePointSiteUrl, SharePointUserName, SharePointPassword);

            export.ForEach(e =>
            {
                e.SetExportPath(ExportPath);
                e.Export();
            });
        }
Пример #2
0
 public string GetAllRegisteredExportersJson()
 {
     return(JsonConvert.SerializeObject(RegisteredExporters
                                        .ToDictionary(pair => pair.Key, pair => pair.Value.Name)));
 }