OpenRA.Arguments.Arguments C# (CSharp) 메소드

Arguments() 공개 메소드

public Arguments ( ) : System.Collections.Generic
리턴 System.Collections.Generic
        public Arguments(params string[] src)
        {
            var regex = new Regex("([^=]+)=(.*)");
            foreach (var s in src)
            {
                var m = regex.Match(s);
                if (!m.Success)
                    continue;

                args[m.Groups[1].Value] = m.Groups[2].Value;
            }
        }