public static IConfigure ConfigureDependencyResolver(this IConfigure configure)
 {
     var dependencyResolver = new ContainerDependencyResolver(configure.Container);
     DependencyResolver.SetResolver(dependencyResolver);
     return configure;
 }
 public override void OnContainerCreated()
 {
     var dependencyResolver = new ContainerDependencyResolver(Container);
     DependencyResolver.SetResolver(dependencyResolver);
     base.OnContainerCreated();
 }
 void SetupDependencyResolver()
 {
     var dependencyResolver = new ContainerDependencyResolver(Container);
     DependencyResolver.SetResolver(dependencyResolver);
 }