예제 #1
0
 public static bool IsNullOrEmpty(string value)
 {
     // forward
     return(ValidatorUtility.IsNull(value));
 }
예제 #2
0
 /// <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));
 }
예제 #3
0
 /// <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));
 }