示例#1
0
        protected internal string Class(bool initial, string[]?additional = null)
        {
            ClassSet c = ConstantClasses.Clone();

            if (additional != null)
            {
                c.AddRange(additional);
            }

            if (Spec.IsDisabled?.Invoke() == true)
            {
                c.Add("Integrant.Element.Bit:Disabled");
            }

            if (Spec.Classes != null)
            {
                c.AddRange(Spec.Classes.Invoke());
            }

            return(c.ToString());
        }