| 12345678910111213141516171819 |
- using MongoDB.Bson.Serialization.Attributes;
- namespace Model
- {
- public class ClientConfig: AConfigComponent
- {
- public string Host = "";
- public int Port;
-
- [BsonIgnore]
- public string Address
- {
- get
- {
- return $"{this.Host}:{this.Port}";
- }
- }
- }
- }
|