CSE.Exps.MethodExp.GetObjArgs C# (CSharp) Method

GetObjArgs() private static method

Converts list of CseObject arguments into a object array using their Value property
private static GetObjArgs ( List args ) : object[]
args List Arguments to extract the Value property of
return object[]
		private static object[] GetObjArgs(List<CseObject> args) {
			if (args == null)
				return null;

			object[] objArgs = new object[args.Count];

			for (int i = 0; i < args.Count; i++)
				objArgs[i] = args[i].Value;

			return objArgs;
		}
	}