public override string ToString(bool Attributes, bool IncludePath) { if (!IncludePath) { var parts = ModuleName.Split('.'); return(parts[parts.Length - 1]); } return(ModuleName); }