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

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