public override string ToString() { return string.Format("Port count: {0}", Port != null ? Port.Count : 0); }