Exemplo n.º 1
0
 public static bool IsNullOrEmpty(string value)
 {
     // forward
     return ValidatorUtility.IsNull(value);
 }
Exemplo n.º 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));
 }
 /// <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));
 }