This PR includes the implementation of the StringTooLong extension method on the IGuardClause interface. This method checks whether a provided string exceeds a specified maximum length. If the string is longer than the allowed maximum, the method throws an ArgumentException. Otherwise, it returns the original string.
This PR includes the implementation of the StringTooLong extension method on the IGuardClause interface. This method checks whether a provided string exceeds a specified maximum length. If the string is longer than the allowed maximum, the method throws an ArgumentException. Otherwise, it returns the original string.
325