/// <summary> /// Requires a Guid is not empty /// </summary> /// <param name="val"></param> /// <param name="key"></param> /// <returns></returns> public Contract <T> IsNotEmpty(Guid val, string key) => IsNotEmpty(val, key, FluntErrorMessages.IsNotEmptyErrorMessage(key));
/// <summary> /// Requires a list contains at least one element /// </summary> /// <typeparam name="TList"></typeparam> /// <param name="val"></param> /// <param name="key"></param> /// <returns></returns> public Contract <T> IsNotEmpty <TList>(IEnumerable <TList> val, string key) => IsNotEmpty(val, key, FluntErrorMessages.IsNotEmptyErrorMessage(key));