public void Read (TProtocol iprot)
{
TField field;
iprot.ReadStructBegin();
while (true)
{
field = iprot.ReadFieldBegin();
if (field.Type == TType.Stop) {
break;
}
switch (field.ID)
{
case 1:
if (field.Type == TType.Map) {
{
MessageMap = new Dictionary<string, Dictionary<int, string>>();
TMap _map30 = iprot.ReadMapBegin();
for( int _i31 = 0; _i31 < _map30.Count; ++_i31)
{
string _key32;
Dictionary<int, string> _val33;
_key32 = iprot.ReadString();
{
_val33 = new Dictionary<int, string>();
TMap _map34 = iprot.ReadMapBegin();
for( int _i35 = 0; _i35 < _map34.Count; ++_i35)
{
int _key36;
string _val37;
_key36 = iprot.ReadI32();
_val37 = iprot.ReadString();
_val33[_key36] = _val37;
}
iprot.ReadMapEnd();
}
MessageMap[_key32] = _val33;
}
iprot.ReadMapEnd();
}
} else {
TProtocolUtil.Skip(iprot, field.Type);
}
break;
default:
TProtocolUtil.Skip(iprot, field.Type);
break;
}
iprot.ReadFieldEnd();
}
iprot.ReadStructEnd();
}