Пример #1
0
        }         // IsAlibaba

        public static string Stringify(this CustomerOrigin cu)
        {
            return(cu == null ? "-- NULL --" : string.Format("{0} (by '{1}')", cu.Name, cu.UrlNeedle));
        } // Stringify
Пример #2
0
        }         // IsEverline

        public static bool IsEzbob(this CustomerOrigin cu)
        {
            return(cu != null && cu.GetOrigin() == CustomerOriginEnum.ezbob);
        }         // IsEzbob
Пример #3
0
        }         // IsEzbob

        public static bool IsAlibaba(this CustomerOrigin cu)
        {
            return(cu != null && cu.GetOrigin() == CustomerOriginEnum.alibaba);
        }         // IsAlibaba
Пример #4
0
 public static bool IsEverline(this CustomerOrigin cu)
 {
     return(cu != null && cu.GetOrigin() == CustomerOriginEnum.everline);
 }         // IsEverline