Forex_Strategy_Builder.Actions.GetLockFile C# (CSharp) 메소드

GetLockFile() 정적인 개인적인 메소드

The lockfile name will be passed automatically by Splash.exe as a command line arg -lockfile="c:\temp\C1679A85-A4FA-48a2-BF77-E74F73E08768.lock"
static private GetLockFile ( ) : string
리턴 string
        static string GetLockFile()
        {
            foreach (string arg in Environment.GetCommandLineArgs())
                if (arg.StartsWith("-lockfile="))
                    return arg.Replace("-lockfile=", String.Empty);

            return string.Empty;
        }
Actions