Ejemplo n.º 1
0
        public string GetDescription()
        {
            string msg = string.Empty;

            if (Member == null || !Member.Any())
            {
                msg = "Attempting to import role with no members";
            }
            else
            {
                string member = JsonConvert.SerializeObject(Member);
                msg = string.Format("Importing role '{0}' {1} with {2} member(s) {3} {4}", GetId(), Id, Member.Count(), Environment.NewLine, member);
            }
            return(msg);
        }