rename ItemMessages

This commit is contained in:
Pilzinsel64
2025-08-08 10:06:49 +02:00
parent 3f356c0004
commit f3658e466f
4 changed files with 16 additions and 16 deletions

View File

@@ -30,18 +30,18 @@ public static class ApiMessageExtensions
return new ApiResult(statusCode, @this.ToItemsMsg());
}
public static GeneralItemMessages<T>.Item ToItemMsg<T>(this T @this)
public static ItemMessages<T>.Item ToItemMsg<T>(this T @this)
{
return new GeneralItemMessages<T>.Item(@this);
return new ItemMessages<T>.Item(@this);
}
public static GeneralItemMessages<T>.Items ToItemsMsg<T>(this IEnumerable<T> @this)
public static ItemMessages<T>.Items ToItemsMsg<T>(this IEnumerable<T> @this)
{
return new GeneralItemMessages<T>.Items([.. @this]);
return new ItemMessages<T>.Items([.. @this]);
}
public static GeneralItemMessages<T>.Items ToItemsMsg<T>(this T[] @this)
public static ItemMessages<T>.Items ToItemsMsg<T>(this T[] @this)
{
return new GeneralItemMessages<T>.Items([.. @this]);
return new ItemMessages<T>.Items([.. @this]);
}
}