public ShoutboxMemberInfo(string avatar, string cc, string formatedName, ShoutboxPermission permission, bool isAdmin) { this.FormattedName = formatedName; this.Avatar = avatar; this.CountryCode = cc; this.ShoutboxPrivacyPermission = permission; this.IsForumAdministrator = isAdmin; }
private static string GetResourceText(ShoutboxPermission perm) { switch (perm) { case ShoutboxPermission.DoNotPublish: return(Resources.U3500.SP_DONOT); case ShoutboxPermission.HideUsername: return(Resources.U3500.SP_HIDE); case ShoutboxPermission.NoRestrictions: return(Resources.U3500.SP_NOREST); default: return(""); } }