Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez Gual <lluis@xamarin.com>2015-02-10 11:06:27 +0300
committerLluis Sanchez Gual <lluis@xamarin.com>2015-02-10 11:06:27 +0300
commit386d6ad60ab9a957b11b719813efbd2890f80897 (patch)
tree488042486f98c68ed41870c5fee0a661d5c7c73e /main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/SolutionItemTypeNode.cs
parentff8f17e92c127a34aded7f89b8ab6176330279ab (diff)
Thread safeness improvements
Initial work to make the project model thread-safe for reading. Added checks to prevent changing the model in background threads. Changed collections to be immutable. Also made some adjustments to the api for initializing projects from templates.
Diffstat (limited to 'main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/SolutionItemTypeNode.cs')
-rw-r--r--main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/SolutionItemTypeNode.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/SolutionItemTypeNode.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/SolutionItemTypeNode.cs
index cf37e4cab7..f00b9dd561 100644
--- a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/SolutionItemTypeNode.cs
+++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Extensions/SolutionItemTypeNode.cs
@@ -132,7 +132,7 @@ namespace MonoDevelop.Projects.Extensions
{
var item = CreateSolutionItem (new ProgressMonitor (), null, Guid).Result;
item.EnsureInitialized ();
- item.InitializeNew (info, projectOptions);
+ item.InitializeFromTemplate (info, projectOptions);
return item;
}
}