static void InitSilo(string[] args = null) { hostWrapper = new OrleansHostWrapper(); if (!hostWrapper.Run()) { Console.Error.WriteLine("Failed to initialize Orleans silo"); } }
static void InitSilo(string[] args) { hostWrapper = new OrleansHostWrapper(args); if (!hostWrapper.Run()) { Console.Error.WriteLine("Failed to initialize Orleans silo"); } }
static void InitSilo(string[] args = null) { OrleansHostWrapper hostWrapper = null; if (args[0] == "primary") { hostWrapper = new OrleansHostWrapper(); } else { hostWrapper = new OrleansHostWrapper(int.Parse(args[1]), int.Parse(args[2])); } if (!hostWrapper.Run()) { Console.Error.WriteLine("Failed to initialize Orleans silo"); } hostWrappers.Add(hostWrapper); }