adding a parameterless ToString for Security

This commit is contained in:
Jake Norbut committed 2017-11-17 09:35:37 -06:00
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));
}