예제 #1
0
        public void Configuration(IAppBuilder appBuilder)
        {
            IDependencyResolverAccessor dependencyResolverAccessor = new CustomDependencyResolver();
            IConfigurationSource        configSources = new Config();

            appBuilder.UseOpenRasta(configSources, dependencyResolverAccessor);
        }
예제 #2
0
 public void Configuration(IAppBuilder appBuilder)
 {
     IDependencyResolverAccessor dependencyResolverAccessor = new CustomDependencyResolver();
     IConfigurationSource configSources = new Config();
     appBuilder.UseOpenRasta(configSources,dependencyResolverAccessor);
 }