コード例 #1
0
        static void InitSilo(string[] args = null)
        {
            hostWrapper = new OrleansHostWrapper();

            if (!hostWrapper.Run())
            {
                Console.Error.WriteLine("Failed to initialize Orleans silo");
            }
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: alfeg/OrleansDashboard
        static void InitSilo(string[] args)
        {
            hostWrapper = new OrleansHostWrapper(args);

            if (!hostWrapper.Run())
            {
                Console.Error.WriteLine("Failed to initialize Orleans silo");
            }
        }
コード例 #3
0
ファイル: Program.cs プロジェクト: ZeBobo5/OrleansDashboard
        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);
        }
コード例 #4
0
        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);
        }