Преглед на файлове

TreeModule改成BehaviorTreeModule

tanghai преди 10 години
родител
ревизия
d54c7e850b

+ 1 - 1
CSharp/App/Editor/App.xaml.cs

@@ -13,7 +13,7 @@ namespace Editor
 
 		private static void RunInDebugMode()
 		{
-			var bootstrapper = new Bootstrapper();
+			Bootstrapper bootstrapper = new Bootstrapper();
 			bootstrapper.Run();
 		}
 	}

+ 1 - 1
CSharp/App/Editor/Bootstrapper.cs

@@ -13,7 +13,7 @@ namespace Editor
 		{
 			this.AggregateCatalog.Catalogs.Add(new AssemblyCatalog(typeof (Bootstrapper).Assembly));
 			this.AggregateCatalog.Catalogs.Add(new AssemblyCatalog(typeof (ViewExportAttribute).Assembly));
-			this.AggregateCatalog.Catalogs.Add(new AssemblyCatalog(typeof (TreeModule).Assembly));
+			this.AggregateCatalog.Catalogs.Add(new AssemblyCatalog(typeof (BehaviorTreeModule).Assembly));
 		}
 
 		protected override void InitializeShell()

+ 2 - 2
CSharp/App/Modules/BehaviorTreeModule/TreeModule.cs → CSharp/App/Modules/BehaviorTreeModule/BehaviorTreeModule.cs

@@ -3,8 +3,8 @@ using Microsoft.Practices.Prism.Modularity;
 
 namespace Modules.BehaviorTreeModule
 {
-	[ModuleExport(moduleType: typeof (TreeModule))]
-	public class TreeModule: IModule
+	[ModuleExport(typeof (BehaviorTreeModule))]
+	public class BehaviorTreeModule: IModule
 	{
 		public void Initialize()
 		{

+ 1 - 1
CSharp/App/Modules/BehaviorTreeModule/BehaviorTreeModule.csproj

@@ -93,7 +93,7 @@
       <DependentUpon>TreeView.xaml</DependentUpon>
     </Compile>
     <Compile Include="TreeViewModel.cs" />
-    <Compile Include="TreeModule.cs" />
+    <Compile Include="BehaviorTreeModule.cs" />
     <Compile Include="AllTreeView.xaml.cs">
       <DependentUpon>AllTreeView.xaml</DependentUpon>
     </Compile>