Axiom.Scripting.ParseHelper.GetParams C# (CSharp) Метод

GetParams() публичный статический Метод

Helper method to remove the first item from a string array and return a new array 1 element smaller starting at the second element of the original array. This helpe to seperate the params from the command in the various script files.
public static GetParams ( string all ) : string[]
all string
Результат string[]
		public static string[] GetParams( string[] all )
		{
			// create a seperate parm list that has the command removed
			string[] parms = new string[ all.Length - 1 ];
			Array.Copy( all, 1, parms, 0, parms.Length );

			return parms;
		}