示例#1
0
        internal GroupDefinition GetGroupDefinition(Type entityType, string name, XObject errObj)
        {
            var def = TryGetGroupDefinition(entityType, name);

            if (def == null)
            {
                throw errObj.InvalidXml($"undefined group {name}");
            }
            return(def);
        }