Ejemplo n.º 1
0
 public MXRecord(MxLevel mxLevel, DomainName target, DnsRecordId id, DomainName name, DomainId parentDomainId, TimeToLive timeToLive, RecordSource recordSource = default, GlobalTrafficDirectorLocation?globalTrafficDirectorLocation = null) : base(id, name, parentDomainId, timeToLive, recordSource, globalTrafficDirectorLocation)
 {
     MxLevel = mxLevel;
     Target  = target;
 }
Ejemplo n.º 2
0
 internal MXRecord(DnsRecordId id, DomainName name, RecordSource source, DomainId sourceId, TimeToLive ttl, GlobalTrafficDirectorLocation?gtdLocation, MxLevel mxLevel, string value) : base(id, name, source, sourceId, ttl, gtdLocation)
 {
     MxLevel         = mxLevel;
     Target          = DomainName.Parse(value);
     TargetWasRooted = value.EndsWith(".", StringComparison.OrdinalIgnoreCase);
 }