public bool CheckEventNaming(string className, string baseName) { return(DexterCRCUtil.HasSuffix(baseName, DexterCRCUtil.EVENT_CLASS_SUFFIX) && !DexterCRCUtil.HasSuffix(className, DexterCRCUtil.EVENT_CLASS_SUFFIX)); }
public bool HasDefect(object value) { var namingSet = (NamingSet)value; return(!DexterCRCUtil.HasSuffix(namingSet.currentName, namingSet.basicWord)); }
public bool CheckAttributeNaming(string className, string baseName) { return(DexterCRCUtil.HasSuffix(baseName, DexterCRCUtil.ATTRIBUTE_CLASS_SUFFIX) && !DexterCRCUtil.HasSuffix(className, DexterCRCUtil.ATTRIBUTE_CLASS_SUFFIX)); }