adding a parameterless ToString for Security
This commit is contained in:
1 parent
3c5facf934
commit
7acbacfbf9
1 file changed
+5
@@ -32,6 +32,11 @@ namespace bts.api {
|
||||
public int CompareTo(SecurityImmutable other) {
|
||||
return Id.CompareTo(other.Id);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return this.ToString("");
|
||||
}
|
||||
public string ToString(string format, IFormatProvider formatProvider=null) {
|
||||
return Format(this, string.IsNullOrEmpty(format) ? _standard_format : Parse(format));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user