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