Open.Core.Assert.IsNull C# (CSharp) Méthode

IsNull() public méthode

Asserts that an object is not null.
public IsNull ( ) : void
Résultat void
        public void IsNull()
        {
            if (subject != null) ThrowError(string.Format("The value '{0}' should actually be null.", Format(subject)));
        }