| 12345678910111213141516171819 |
- using System.Net;
- using MongoDB.Bson.Serialization.Attributes;
- namespace ETModel
- {
- [BsonIgnoreExtraElements]
- public class InnerConfig: AConfigComponent
- {
- [BsonIgnore]
- public IPEndPoint IPEndPoint { get; private set; }
-
- public string Address { get; set; }
- public override void EndInit()
- {
- this.IPEndPoint = NetworkHelper.ToIPEndPoint(this.Address);
- }
- }
- }
|