<PackageReference Include="Azure.Identity" Version="1.18.0-beta.3" />

Azure.Core.Argument

static class Argument
Argument validation.
namespace Azure.Core { internal static class Argument { public static void AssertNotNull<T>(T value, string name); public static void AssertNotNull<T>(T? value, string name) where T : struct; public static void AssertNotNullOrEmpty<T>(IEnumerable<T> value, string name); public static void AssertNotNullOrEmpty(string value, string name); public static void AssertNotNullOrWhiteSpace(string value, string name); public static void AssertNotDefault<T>(ref T value, string name) where T : struct, IEquatable<T>; public static void AssertInRange<[System.Runtime.CompilerServices.Nullable(1)] T>(T value, T minimum, T maximum, string name) where T : IComparable<T>; public static void AssertEnumDefined(Type enumType, object value, string name); public static T CheckNotNull<T>(T value, string name) where T : class; public static string CheckNotNullOrEmpty(string value, string name); public static void AssertNull<[System.Runtime.CompilerServices.Nullable(2)] T>(T value, string name, string message = null); } }