public Server(FuSettings settings, RequestHandler handler) { this.Settings = settings; this.Handler = handler; ifStats(s => Stats = new Stats()); }
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; }
public App(FuSettings settings, IEnumerable<IService> services, params Continuation[] pipeline) : base(settings, services, fu.Compose(pipeline)(fu.EndAct)) { }