Beispiel #1
0
        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 ();
        }
Beispiel #2
0
 public ResourceResponder(Resource prototype, Repository repository, ServerOptions options)
     : base(repository, options)
 {
     _prototype = prototype;
 }
Beispiel #3
0
 public App(ServerOptions options)
 {
     _options = options;
 }
Beispiel #4
0
 public Responder(Repository repository, ServerOptions options)
 {
     _repository = repository;
     _options    = options;
 }
Beispiel #5
0
 public QueryResponder(Query prototype, Repository repository, ServerOptions options)
     : base(repository, options)
 {
     _prototype = prototype;
 }
Beispiel #6
0
 public Responder(Repository repository, ServerOptions options)
 {
     _repository = repository;
     _options = options;
 }
Beispiel #7
0
 public App(ServerOptions options)
 {
     _options = options;
 }
Beispiel #8
0
 public ResourceResponder(Resource prototype, Repository repository, ServerOptions options)
     : base(repository, options)
 {
     _prototype = prototype;
 }
Beispiel #9
0
 public QueryResponder(Query prototype, Repository repository, ServerOptions options)
     : base(repository, options)
 {
     _prototype = prototype;
 }