Example #1
0
        public SiteSetupManager(ClientContext clientContext, ShSiteCollection configurationSiteCollection, string rootConfigurationPath, bool incrementalUpload)
        {
            ConfigurationSiteCollection = configurationSiteCollection;
            ClientContext     = clientContext;
            IncrementalUpload = incrementalUpload;

            FeatureManager          = new FeatureManager();
            QuicklaunchManager      = new QuicklaunchManager();
            PropertyManager         = new PropertyManager();
            ListManager             = new ListManager();
            CustomActionsManager    = new CustomActionsManager();
            PermissionManager       = new PermissionManager();
            ComposedLookManager     = new ComposedLookManager();
            FileListenerAndUploader = new FileListenerAndUploader();
            ExportTaskManager       = new ExportTaskManager();

            ContentConfigurationPath = Path.Combine(rootConfigurationPath, "content");
            ContentUploadManager     = new ContentUploadManager(ContentConfigurationPath);
        }
Example #2
0
 public void ExportListData(string outputDirectory)
 {
     ExportTaskManager.ExportData(ClientContext, null, ConfigurationSiteCollection.RootWeb, outputDirectory);
 }