Пример #1
0
 public void Configuration(IAppBuilder appBuilder)
 {
     IConfigurationSource configSources = new Config();
     appBuilder.UseOpenRasta(configSources);
 }
Пример #2
0
 public void Configuration(IAppBuilder appBuilder)
 {
     IDependencyResolverAccessor dependencyResolverAccessor = new CustomDependencyResolver();
     IConfigurationSource configSources = new Config();
     appBuilder.UseOpenRasta(configSources,dependencyResolverAccessor);
 }