private static StaticProcessWholeString ( String str ) : String | ||
str | String | |
Результат | String |
internal static ArrayList CreateListFromExpressions(string[] str, bool needFullPath) { if (str == null) { throw new ArgumentNullException("str"); } ArrayList arrayList = new ArrayList(); for (int i = 0; i < str.Length; i++) { if (str[i] == null) { throw new ArgumentNullException("str"); } string text = StringExpressionSet.StaticProcessWholeString(str[i]); if (text != null && text.Length != 0) { string text2 = StringExpressionSet.StaticProcessSingleString(text); int num = text2.IndexOf('\0'); if (num != -1) { text2 = text2.Substring(0, num); } if (text2 != null && text2.Length != 0) { if (PathInternal.IsPartiallyQualified(text2)) { throw new ArgumentException(Environment.GetResourceString("Argument_AbsolutePathRequired")); } text2 = StringExpressionSet.CanonicalizePath(text2, needFullPath); arrayList.Add(text2); } } } return(arrayList); }
internal static ArrayList CreateListFromExpressions(string[] str, bool needFullPath) { if (str == null) { throw new ArgumentNullException("str"); } ArrayList arrayList = new ArrayList(); for (int index = 0; index < str.Length; ++index) { if (str[index] == null) { throw new ArgumentNullException("str"); } string str1 = StringExpressionSet.StaticProcessWholeString(str[index]); if (str1 != null && str1.Length != 0) { string path = StringExpressionSet.StaticProcessSingleString(str1); int length = path.IndexOf(char.MinValue); if (length != -1) { path = path.Substring(0, length); } if (path != null && path.Length != 0) { if (Path.IsRelative(path)) { throw new ArgumentException(Environment.GetResourceString("Argument_AbsolutePathRequired")); } string str2 = StringExpressionSet.CanonicalizePath(path, needFullPath); arrayList.Add((object)str2); } } } return(arrayList); }
// Token: 0x06002B26 RID: 11046 RVA: 0x000A01FA File Offset: 0x0009E3FA protected virtual string ProcessWholeString(string str) { return(StringExpressionSet.StaticProcessWholeString(str)); }