Skip to content
Permalink
Browse files

Fix typo in sandbox helper class name

  • Loading branch information...
Bouke committed Aug 29, 2018
1 parent aa5dd26 commit 48300deae65fe96eb7a85d414963049a3146c107
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/source/RazorEngine.Core/Templating/IsolatedRazorEngineService.cs
@@ -104,7 +104,7 @@ public ITemplateServiceConfiguration CreateConfiguration()
/// A simple sandbox helper to create the <see cref="IRazorEngineService"/>
/// in the new <see cref="AppDomain"/>.
/// </summary>
public class SanboxHelper : CrossAppDomainObject
public class SandboxHelper : CrossAppDomainObject
{
/// <summary>
/// Create the <see cref="IRazorEngineService"/> in the new <see cref="AppDomain"/>.
@@ -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);
}

0 comments on commit 48300de

Please sign in to comment.
You can’t perform that action at this time.