You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
378 B
16 lines
378 B
using JsonRx.Resolver;
|
|
using System.Web.Http;
|
|
using Unity.WebApi;
|
|
|
|
namespace JsonRx
|
|
{
|
|
public static class UnityConfig
|
|
{
|
|
public static void RegisterComponents()
|
|
{
|
|
var container = IoCContainer.RegisterUnityContainer();
|
|
|
|
GlobalConfiguration.Configuration.DependencyResolver = new UnityDependencyResolver(container);
|
|
}
|
|
}
|
|
}
|