Permalink
Browse files

Cleaned up a few StyleCop rules

  • Loading branch information...
1 parent 5853c93 commit 15cb40b381fc288f3f28bb3f3a62bc512bab2fc3 @nikmd23 nikmd23 committed Apr 2, 2013
@@ -55,5 +55,4 @@ public void Execute()
}
}
}
-
}
@@ -9,7 +9,7 @@ public static class Settings
{
/// <summary>
/// Hook that is used to hang initialization code from. No method
- /// here is required ot be called. You should only need to use this
+ /// here is required to be called. You should only need to use this
/// code if Glimpse doesn't initialize soon enough in the application
/// life cycle for your purposes.
/// </summary>
@@ -27,6 +27,7 @@ public override IEnumerable<IAlternateMethod> AllMethods
new EndInvokeActionMethod(),
new ActionInvoker.InvokeActionResult<ControllerActionInvoker>(),
new ActionInvoker.GetFilters<ControllerActionInvoker>(new ActionFilter(ProxyFactory), new ResultFilter(ProxyFactory), new AuthorizationFilter(ProxyFactory), new ExceptionFilter(ProxyFactory)),
+
// HACK - Leveraging InvokerActionResult and GetFilters for Async & NonAsync allows for MVC 3 + MVC 4
new ActionInvoker.InvokeActionResult<AsyncControllerActionInvoker>(),
new ActionInvoker.GetFilters<AsyncControllerActionInvoker>(new ActionFilter(ProxyFactory), new ResultFilter(ProxyFactory), new AuthorizationFilter(ProxyFactory), new ExceptionFilter(ProxyFactory))

0 comments on commit 15cb40b

Please sign in to comment.