26 lines
833 B
C#
26 lines
833 B
C#
using System;
|
|
using System.Linq;
|
|
|
|
namespace sparkcmd
|
|
{
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
if (args.FirstOrDefault() == "configcheck") {
|
|
mbts.config.Configuration.configcheck(args.Length, args);
|
|
return;
|
|
}
|
|
|
|
mbts.config.Configuration.initialize();
|
|
//mbts.utils.BTSNativeMethods.init_spark_lib();
|
|
var c = mbts.config.Configuration.get<bts.config.JetFIX>();
|
|
mbts.Logger.info(bts.log.Subsystem.gen, "hello");
|
|
var ctx = new bts.api.core.ServiceContext();
|
|
var s = ctx.locate<bts.api.user.UserService>();
|
|
bts.api.user.GetLoginsRequest r = new bts.api.user.GetLoginsRequest();
|
|
var response = s.get_logins(r);
|
|
Console.WriteLine("{0}", response);
|
|
}
|
|
}
|
|
} |