ToString( ) methods of all components are equal, start with ClassName.
This commit is contained in:
@@ -13,14 +13,8 @@ namespace TBF.Rig.Various.ErrorFlags
|
||||
public class Errors : ComponentBase, GenericDevices.IErrorFlags
|
||||
{
|
||||
private static readonly ILog log = LogManager.GetLogger(typeof(Errors));
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format("{0}({1})", this.GetType().Namespace.Substring(8), Cfg.ToString(-1));
|
||||
}
|
||||
public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(-1)); }
|
||||
|
||||
///
|
||||
/// Cfg
|
||||
///
|
||||
readonly ErrorsCfg errorsCfg;
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user