Class Tools
Various general-purpose helpers.
public static class Tools
- Inheritance
-
Tools
- Inherited Members
Methods
CreateEmptyQuery<T>()
public static IQueryable<T> CreateEmptyQuery<T>()
Returns
- IQueryable<T>
Type Parameters
T
IsNullOrEmpty(ICollection?)
Checks that collection is not null and have at least one element.
public static bool IsNullOrEmpty(this ICollection? array)
Parameters
arrayICollectionCollection to check.
Returns
- bool
trueif collection is null or contains no elements,falseotherwise.
ToDebugDisplay(string)
public static string ToDebugDisplay(string str)
Parameters
strstring
Returns
TryLoadAssembly(string?, string?)
public static Assembly? TryLoadAssembly(string? assemblyName, string? providerFactory)