/// <summary> /// 开始搜索 /// </summary> public void Start() { IsStop = false; if (types == null) { types = hashSet.CreateHashString(); } else { types.Clear(); } if (values == null) { values = hashSet.CreateOnly <value>(); } else { values.Clear(); } if (path == null) { path = new list <string>(); } else { path.Clear(); } foreach (staticType type in staticTypes) { if (IsStop) { return; } StaticType = type; foreach (staticValue value in type.Values.notNull()) { if (IsStop) { return; } StaticValue = value; if (value.Value != null) { Value = value.Value; searchValue(); } } } }