Esempio n. 1
0
        internal override DnsResourceData CreateInstance(DataSegment data)
        {
            DnsOptions options = DnsOptions.Read(data);

            if (options == null)
            {
                return(null);
            }
            return(new DnsResourceDataOptions(options));
        }
Esempio n. 2
0
 /// <summary>
 /// Constructs an instance from options.
 /// </summary>
 public DnsResourceDataOptions(DnsOptions options)
 {
     Options = options;
 }