From 48300deae65fe96eb7a85d414963049a3146c107 Mon Sep 17 00:00:00 2001 From: Bouke Haarsma Date: Wed, 29 Aug 2018 09:32:48 +0200 Subject: [PATCH] Fix typo in sandbox helper class name --- .../Templating/IsolatedRazorEngineService.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); }