本文整理汇总了C#中RecordReader.ReadString方法的典型用法代码示例。如果您正苦于以下问题:C# RecordReader.ReadString方法的具体用法?C# RecordReader.ReadString怎么用?C# RecordReader.ReadString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类RecordReader
的用法示例。
在下文中一共展示了RecordReader.ReadString方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: RecordNAPTR
///<summary>
///</summary>
///<param name="rr"></param>
public RecordNAPTR(RecordReader rr)
{
Order = rr.ReadUInt16();
Preference = rr.ReadUInt16();
Flags = rr.ReadString();
Services = rr.ReadString();
Regexp = rr.ReadString();
Replacement = rr.ReadDomainName();
}
示例2: HINFORecord
public HINFORecord(RR rr, RecordReader recordReader)
: base(rr)
{
if (recordReader == null)
{
throw new ArgumentNullException("recordReader");
}
m_cpu = recordReader.ReadString();
m_os = recordReader.ReadString();
}
示例3: ISDNRecord
public ISDNRecord(RR rr, RecordReader recordReader)
: base(rr)
{
if (recordReader == null)
{
throw new ArgumentNullException("recordReader");
}
m_isdnAddress = recordReader.ReadString();
m_sa = recordReader.ReadString();
}
示例4: GPOSRecord
public GPOSRecord(RR rr, RecordReader recordReader)
: base(rr)
{
if (recordReader == null)
{
throw new ArgumentNullException("recordReader");
}
m_longitude = recordReader.ReadString();
m_latitude = recordReader.ReadString();
m_altitude = recordReader.ReadString();
}
示例5: NAPTRRecord
public NAPTRRecord(RR rr, RecordReader recordReader)
: base(rr)
{
if (recordReader == null)
{
throw new ArgumentNullException("recordReader");
}
m_order = recordReader.ReadUInt16();
m_preference = recordReader.ReadUInt16();
m_flags = recordReader.ReadString();
m_services = recordReader.ReadString();
m_regexp = recordReader.ReadString();
m_replacement = recordReader.ReadDomainName();
}
示例6: RecordKEY
public RecordKEY(RecordReader rr)
{
FLAGS = rr.ReadUInt16();
PROTOCOL = rr.ReadByte();
ALGORITHM = rr.ReadByte();
PUBLICKEY = rr.ReadString();
}
示例7: NSAPPTRRecord
public NSAPPTRRecord(RR rr, RecordReader recordReader)
: base(rr)
{
if (recordReader == null)
{
throw new ArgumentNullException("recordReader");
}
m_owner = recordReader.ReadString();
}
示例8: KEYRecord
public KEYRecord(RR rr, RecordReader recordReader)
: base(rr)
{
if (recordReader == null)
{
throw new ArgumentNullException("recordReader");
}
m_flags = recordReader.ReadUInt16();
m_protocol = recordReader.ReadByte();
m_algorithm = recordReader.ReadByte();
m_publicKey = recordReader.ReadString();
}
示例9: SIGRecord
public SIGRecord(RR rr, RecordReader recordReader)
: base(rr)
{
if (recordReader == null)
{
throw new ArgumentNullException("recordReader");
}
m_typeCovered = recordReader.ReadUInt16();
m_algorithm = recordReader.ReadByte();
m_labels = recordReader.ReadByte();
m_originalTtl = recordReader.ReadUInt32();
m_signatureExpiration = recordReader.ReadUInt32();
m_signatureInception = recordReader.ReadUInt32();
m_keyTag = recordReader.ReadUInt16();
m_signersName = recordReader.ReadDomainName();
m_signature = recordReader.ReadString();
}
示例10: RecordISDN
public RecordISDN(RecordReader rr)
{
ISDNADDRESS = rr.ReadString();
SA = rr.ReadString();
}
示例11: RecordHINFO
public RecordHINFO(RecordReader rr)
{
CPU = rr.ReadString();
OS = rr.ReadString();
}
示例12: RecordNSAPPTR
public RecordNSAPPTR(RecordReader rr)
{
OWNER = rr.ReadString();
}
示例13: RecordX25
public RecordX25(RecordReader rr)
{
PSDNADDRESS = rr.ReadString();
}
示例14: RecordSIG
///<summary>
///</summary>
///<param name="rr"></param>
public RecordSIG(RecordReader rr)
{
TypeCovered = rr.ReadUInt16();
Algorithm = rr.ReadByte();
Labels = rr.ReadByte();
OriginalTTL = rr.ReadUInt32();
SignatureExpiration = rr.ReadUInt32();
SignatureInception = rr.ReadUInt32();
Keytag = rr.ReadUInt16();
SignersName = rr.ReadDomainName();
Signature = rr.ReadString();
}
示例15: RecordTXT
public RecordTXT(RecordReader rr)
{
TXT = rr.ReadString();
}