public static void Main(string[] args) { var options = new ServerOptions { PathToProjectFile = "", Hostname = "*", Port = 1337, Debug = true, }; foreach (var a in args) { options.PathToProjectFile = a; } new App (options).Run (); }
public ResourceResponder(Resource prototype, Repository repository, ServerOptions options) : base(repository, options) { _prototype = prototype; }
public App(ServerOptions options) { _options = options; }
public Responder(Repository repository, ServerOptions options) { _repository = repository; _options = options; }
public QueryResponder(Query prototype, Repository repository, ServerOptions options) : base(repository, options) { _prototype = prototype; }