System.Tests.StringTests.IsNullOrWhitespace C# (CSharp) Méthode

IsNullOrWhitespace() private méthode

private IsNullOrWhitespace ( string value, bool expected ) : void
value string
expected bool
Résultat void
        public static void IsNullOrWhitespace(string value, bool expected)
        {
            Assert.Equal(expected, string.IsNullOrWhiteSpace(value));
        }
StringTests