Skip to content

Commit

Permalink
Renaming ScriptingLanguageFactory to PythonLanguageFactory
Browse files Browse the repository at this point in the history
git-svn-id: http://dev.dejardin.org/svn/spark/trunk@283 0f556331-6e29-4ecb-911f-9ab3f335dbaa
  • Loading branch information
loudej committed Jan 1, 2009
1 parent 9422b13 commit 1af5bce
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Spark.Python/Spark.Python.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{0703F11D-FA13-4182-8577-170C9A5121FF}</ProjectGuid>
<OutputType>Library</OutputType>
Expand Down Expand Up @@ -74,7 +74,7 @@
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Compiler\PythonViewCompiler.cs" />
<Compile Include="PythonEngineManager.cs" />
<Compile Include="ScriptingLanguageFactory.cs" />
<Compile Include="PythonLanguageFactory.cs" />
<Compile Include="ScriptingViewSymbolDictionary.cs" />
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace Spark.Web.Mvc.Python
{
public class ScriptingLanguageFactoryWithExtensions : PythonLanguageFactory
public class PythonLanguageFactoryWithExtensions : PythonLanguageFactory
{
private bool _initialized;

Expand All @@ -41,7 +41,7 @@ private void Initialize()
// before any scripts are created in order for the extension
// methods to be "seen" on the dynamic type.
PythonEngineManager.ScriptEngine.Runtime.LoadAssembly(
typeof (ScriptingLanguageFactoryWithExtensions).Assembly);
typeof (PythonLanguageFactoryWithExtensions).Assembly);
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/Spark.Web.Mvc.Python/Spark.Web.Mvc.Python.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{92156FC5-8ECF-4A52-B4CA-AE060DCAAD18}</ProjectGuid>
<OutputType>Library</OutputType>
Expand Down Expand Up @@ -53,7 +53,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="ScriptingLanguageFactoryWithExtensions.cs" />
<Compile Include="PythonLanguageFactoryWithExtensions.cs" />
<Compile Include="SparkPythonEngineStarter.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Spark.Web.Mvc.Python/SparkPythonEngineStarter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static class SparkPythonEngineStarter
public static void ConfigureContainer(ISparkServiceContainer container)
{
container.SetServiceBuilder<IViewEngine>(c => new SparkViewFactory(c.GetService<ISparkSettings>()));
container.SetServiceBuilder<ISparkLanguageFactory>(c => new ScriptingLanguageFactoryWithExtensions());
container.SetServiceBuilder<ISparkLanguageFactory>(c => new PythonLanguageFactoryWithExtensions());
}

/// <summary>
Expand Down

0 comments on commit 1af5bce

Please sign in to comment.