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