Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (17 sloc) 471 Bytes
using System;
using System.Web.Compilation;
using SignalR.Hubs;
namespace SignalR.Hosting.AspNet
{
public class BuildManagerTypeResolver : DefaultHubTypeResolver
{
public BuildManagerTypeResolver(IHubLocator locator)
: base(locator)
{
}
public override Type ResolveType(string hubName)
{
return base.ResolveType(hubName) ?? BuildManager.GetType(hubName, throwOnError: false);
}
}
}
Jump to Line
Something went wrong with that request. Please try again.