/// <summary> /// Returns true if the given string instance is not null/empty or an empty Guid, false otherwise. /// </summary> /// <param name="id">The string representation of a Guid to check.</param> /// <returns>See def.</returns> public static Boolean IsAdvisoryId(string id) { return(StringUtils.NotEmpty(id) && Guid.Empty != Guid.Parse(id)); }
/// <summary> /// Returns true if the given Guid instance is not null/empty or an empty Guid, false otherwise. /// </summary> /// <param name="id">The Guid instance to check.</param> /// <returns>See def.</returns> public static Boolean IsAdvisoryId(Guid id) { return(StringUtils.NotEmpty(id) && Guid.Empty != id); }