public static bool IsNullOrEmpty(string value) { // forward return(ValidatorUtility.IsNull(value)); }
/// <summary> /// Determines whether the specified attr is valid. /// </summary> /// <param name="attribute">The attr.</param> /// <returns> /// <c>true</c> if the specified attr is valid; otherwise, <c>false</c>. /// </returns> public static bool IsValid(QualifiedTypeNameAttribute attribute) { return(attribute != null && !ValidatorUtility.IsNullOrEmpty(attribute.AssemblyFileName) && !ValidatorUtility.IsNullOrEmpty(attribute.QualifiedTypeName)); }
/// <summary> /// Determines whether the specified attr is valid. /// </summary> /// <param name="attribute">The attr.</param> /// <returns> /// <c>true</c> if the specified attr is valid; otherwise, <c>false</c>. /// </returns> public static bool IsValid(DisplayTextKeyAttribute attribute) { return(attribute != null && !ValidatorUtility.IsNullOrEmpty(attribute.Key)); }