public override string ToString() { if (_name == string.Empty) { if (_taskGenerator == null && _taskEnumerator == null) { _name = base.ToString(); } else if (_taskEnumerator != null) { _name = _taskEnumerator.ToString(); } else { System.Reflection.MethodInfo methodInfo = _taskGenerator.GetMethodInfoEx(); _name = methodInfo.GetDeclaringType().ToString().FastConcat(".", methodInfo.Name); } } return(_name); }