/// <inheritdoc /> public TAccountInfo(XmlNode node) { if (node != null) { Name = Extensions.GetNodeInnerText(node.GetSingleNode(ClassHelper.GetMemberName(() => Name))); Email = Extensions.GetNodeInnerText(node.GetSingleNode(ClassHelper.GetMemberName(() => Email))); AccountType = (AccountType)Extensions.GetNodeInnerTextAsInt(node.GetSingleNode(ClassHelper.GetMemberName(() => AccountType))); AdminType = (TAdminType)Extensions.GetNodeInnerTextAsInt(node.GetSingleNode(ClassHelper.GetMemberName(() => AdminType))); Quota = new TAccountQuota(node.GetSingleNode(ClassHelper.GetMemberName(() => Quota))); Image = new TAccountImage(node.GetSingleNode(ClassHelper.GetMemberName(() => Image))); } }
/// <inheritdoc /> public TAccountInfo() { Quota = new TAccountQuota(); Image = new TAccountImage(); }