static private ParseIdToMemberType ( string memberTypeId ) : MemberTypes | ||
memberTypeId | string | |
Résultat | MemberTypes |
void IFlickrParsable.Load(XmlReader reader) { // To parse: <member nsid="123456@N01" username="******" iconserver="1" iconfarm="1" membertype="2"/> MemberId = reader.GetAttribute("nsid"); UserName = reader.GetAttribute("username"); IconServer = reader.GetAttribute("iconserver"); IconFarm = reader.GetAttribute("iconfarm"); MemberType = UtilityMethods.ParseIdToMemberType(reader.GetAttribute("membertype")); }