Ejemplo n.º 1
0
        public static IAppBuilder UseFlasky(this IAppBuilder appBuilder, Action <FlaskyConfiguration> configAction)
        {
            var appConfig = new FlaskyConfiguration();

            configAction(appConfig);
            return(appConfig.Initialise(appBuilder));
        }
Ejemplo n.º 2
0
 public static IAppBuilder UseFlasky(this IAppBuilder appBuilder, Action<FlaskyConfiguration> configAction)
 {
     var appConfig = new FlaskyConfiguration();
     configAction(appConfig);
     return appConfig.Initialise(appBuilder);
 }