Beispiel #1
0
        public Server(FuSettings settings, RequestHandler handler)
        {
            this.Settings = settings;
              this.Handler = handler;

              ifStats(s => Stats = new Stats());
        }
Beispiel #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;
        }
Beispiel #3
0
 public App(FuSettings settings,
     IEnumerable<IService> services,
     params Continuation[] pipeline)
     : base(settings, services, fu.Compose(pipeline)(fu.EndAct))
 {
 }