Mineplex2018-withcommit/Website/LOC.Website.Web/App_Start/StructuremapMvc.cs
Jonathan Williams 3fb52c5c71 Initial Commit
2013-08-27 08:14:08 -07:00

15 lines
440 B
C#

using LOC.Website.Web.App_Start;
[assembly: WebActivator.PreApplicationStartMethod(typeof(StructuremapMvc), "Start")]
namespace LOC.Website.Web.App_Start {
using System.Web.Mvc;
using DependencyResolution;
public static class StructuremapMvc {
public static void Start() {
var container = IoC.Initialize();
DependencyResolver.SetResolver(new SmDependencyResolver(container));
}
}
}