Beispiel #1
0
        internal CFont CFont(CFontApplier applier)
        {
            var find = CFonts.FirstOrDefault(x => x.InterfaceValuesEqual(applier));

            if (find is null)
            {
                return(new CFont(this).Then(x => applier.Apply(x)));
            }
            else
            {
                return(find);
            }
        }
Beispiel #2
0
 public CFont CFont(Action <CFontApplier> init) => CFont(CFontApplier.Create(init));