Open.Core.Assert.IsNotNull C# (CSharp) Method

IsNotNull() public method

Asserts that an object is not null.
public IsNotNull ( ) : void
return void
        public void IsNotNull()
        {
            if (subject == null) ThrowError("Value should not be null.");
        }