private ConvertDictionaryToPartyCustomeAttrValuesDictionary ( string>.Dictionary |
||
partyCustomAttributes | string>.Dictionary | |
return | string>.Dictionary |
private Dictionary<PartyCustomAttribute, string> ConvertDictionaryToPartyCustomeAttrValuesDictionary(Dictionary<string, string> partyCustomAttributes)
{
var result = new Dictionary<PartyCustomAttribute, string>();
foreach (var partyCustomAttribute in partyCustomAttributes)
{
result.Add(new PartyCustomAttribute() { Id = int.Parse(partyCustomAttribute.Key) }, partyCustomAttribute.Value);
}
return result;
}