Exemplo n.º 1
0
        public static void Topshelf(this ProtoServer server, Action <TopshelfOptions> action)
        {
            var cfg = new TopshelfConfigurator(new DotNetPath());

            action(cfg);
            server.RegisterProtoTask(cfg);
        }
Exemplo n.º 2
0
 public static void Topshelf(this ProtoServer server, Action<TopshelfOptions> action)
 {
     var cfg = new TopshelfConfigurator(new DotNetPath());
     action(cfg);
     server.RegisterProtoTask(cfg);
 }