Class EnsureObjectStates
- Namespace
- DisCatSharp.Common
- Assembly
- DisCatSharp.Common.dll
Ensures that certain objects have the target state.
public static class EnsureObjectStates
- Inheritance
-
EnsureObjectStates
- Inherited Members
Methods
- EmptyOrNull<T>(List<T?>?)
Checks whether the list is null or empty.
- EmptyOrNull<T1, T2>(Dictionary<T1, T2?>?)
Checks whether the dictionary is null or empty.
- Empty<T>(List<T>)
Checks whether the list is null or empty.
- Empty<T1, T2>(Dictionary<T1, T2?>)
Checks whether the dictionary is null or empty.
- NotEmptyAndNotNull<T>(List<T?>?)
Checks whether the list is not null and not empty.
- NotEmptyAndNotNull<T1, T2>(Dictionary<T1, T2?>?)
Checks whether the dictionary is not null and not empty.
- NotEmpty<T>(List<T>)
Checks whether the list is not null and not empty.
- NotEmpty<T1, T2>(Dictionary<T1, T2?>)
Checks whether the dictionary is not null and not empty.