diff --git a/src/source/RazorEngine.Core/Templating/IsolatedRazorEngineService.cs b/src/source/RazorEngine.Core/Templating/IsolatedRazorEngineService.cs index ed3bf6f1..a9f7b8da 100644 --- a/src/source/RazorEngine.Core/Templating/IsolatedRazorEngineService.cs +++ b/src/source/RazorEngine.Core/Templating/IsolatedRazorEngineService.cs @@ -104,7 +104,7 @@ public ITemplateServiceConfiguration CreateConfiguration() /// A simple sandbox helper to create the /// in the new . /// - public class SanboxHelper : CrossAppDomainObject + public class SandboxHelper : CrossAppDomainObject { /// /// Create the in the new . @@ -138,11 +138,11 @@ internal IsolatedRazorEngineService(IConfigCreator configCreator, IAppDomainFact ObjectHandle handle = Activator.CreateInstanceFrom( - _appDomain, typeof(SanboxHelper).Assembly.ManifestModule.FullyQualifiedName, - typeof(SanboxHelper).FullName + _appDomain, typeof(SandboxHelper).Assembly.ManifestModule.FullyQualifiedName, + typeof(SandboxHelper).FullName ); - using (var helper = (SanboxHelper)handle.Unwrap()) + using (var helper = (SandboxHelper)handle.Unwrap()) { _proxy = helper.CreateEngine(config); }