public QualifierValue GetQualifierValue() { var qualifierTable = new QualifierTable(m_stringTable); var qualifierId = qualifierTable.CreateQualifier(new Tuple <string, string>("hey", "hello")); return(QualifierValue.Create(qualifierId, qualifierTable, m_stringTable)); }
/// <summary> /// Reads a QualifierId from a string representation /// </summary> public override QualifierId ReadQualifierId() { Start <QualifierId>(); var isValid = ReadBoolean(); if (!isValid) { return(QualifierId.Invalid); } var keyValues = ReadArray(reader => new Tuple <string, string>(reader.ReadString(), reader.ReadString())); var result = m_qualifierTable.CreateQualifier(keyValues); End(); return(result); }