Esempio n. 1
0
 public static bool IsEmpty(this IUmlFill fill)
 {
     return(string.IsNullOrEmpty(fill?.GetCode()));
 }
Esempio n. 2
0
        public static string GetCodeWithSpace(this IUmlFill fill, bool convertToRgb = false)
        {
            var code = fill?.GetCode(convertToRgb);

            return(string.IsNullOrEmpty(code) ? string.Empty : " " + code);
        }