Beispiel #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            if (ReferenceEquals(this, obj))
            {
                return(true);
            }
            if (obj.GetType() != typeof(SkiaFontFamily))
            {
                return(false);
            }
            SkiaFontFamily other = (SkiaFontFamily)obj;

            return(_name == other._name);
        }