internal static TestWorkspace Create( XElement workspaceElement, bool openDocuments = true, ExportProvider exportProvider = null, TestComposition composition = null, string workspaceKind = null, IDocumentServiceProvider documentServiceProvider = null, bool ignoreUnchangeableDocumentsWhenApplyingChanges = true) { var workspace = new TestWorkspace(exportProvider, composition, workspaceKind, ignoreUnchangeableDocumentsWhenApplyingChanges: ignoreUnchangeableDocumentsWhenApplyingChanges); workspace.InitializeDocuments(workspaceElement, openDocuments, documentServiceProvider); return(workspace); }