public static RegisterTypes ( IUnityContainer container ) : void | ||
container | IUnityContainer | The unity container to configure. |
return | void |
public static void RegisterTypes(IUnityContainer container)
{
// NOTE: To load from web.config uncomment the line below. Make sure to add a Microsoft.Practices.Unity.Configuration to the using statements.
// container.LoadConfiguration();
// HINT: Register your types here
container
//.RegisterType<IQueryService, QueryService>()
//.RegisterType<???,???>()
.RegisterType<IDALContext, DALContext>();
}
}