Skip to content

Commit

Permalink
order of descriptions fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelbaran committed Feb 23, 2024
1 parent aa2b6fe commit 5dc09da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BHoM_Engine/Query/IsNull.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public static partial class Query

[Description("Checks if a collection is null or empty and outputs relevant error message.")]
[Input("collection", "The collection to test for null value or emptiness.")]
[Input("methodName", "The name of the method to reference in the error message.")]
[Input("msg", "Optional message to be returned in addition to the generated error message.")]
[Input("methodName", "The name of the method to reference in the error message.")]
[Output("isNull", "True if the collection is null or empty.")]
public static bool IsNullOrEmpty<T>(this IEnumerable<T> collection, string msg = "", [CallerMemberName] string methodName = "")
{
Expand All @@ -51,8 +51,8 @@ public static bool IsNullOrEmpty<T>(this IEnumerable<T> collection, string msg =

[Description("Checks if a collection is null and outputs relevant error message.")]
[Input("collection", "The collection to test for null value.")]
[Input("methodName", "The name of the method to reference in the error message.")]
[Input("msg", "Optional message to be returned in addition to the generated error message.")]
[Input("methodName", "The name of the method to reference in the error message.")]
[Output("isNull", "True if the collection is null.")]
public static bool IsNull<T>(this IEnumerable<T> collection, string msg = "", [CallerMemberName] string methodName = "")
{
Expand Down

0 comments on commit 5dc09da

Please sign in to comment.