Ejemplo n.º 1
0
        public Server(FuSettings settings, RequestHandler handler)
        {
            this.Settings = settings;
              this.Handler = handler;

              ifStats(s => Stats = new Stats());
        }
Ejemplo n.º 2
0
        public AppBase(FuSettings settings, IEnumerable<IService> services, FuAction pipeline)
        {
            services = services ?? new IService[] { };
              settings = settings ?? new FuSettings();

              pipeline = pipeline ?? fu.EndAct;

              this.Services = services.ToList();
              this.Settings = settings;

              this.Pipeline = pipeline;
        }
Ejemplo n.º 3
0
 public App(FuSettings settings,
     IEnumerable<IService> services,
     params Continuation[] pipeline)
     : base(settings, services, fu.Compose(pipeline)(fu.EndAct))
 {
 }