BlogSharp.Core.Helpers.Guard.NotNull C# (CSharp) Method

NotNull() public static method

public static NotNull ( object item, string propName ) : void
item object
propName string
return void
        public static void NotNull(object item,string propName)
        {
            if(item==null)
                throw new ArgumentNullException(propName);
        }

Same methods

Guard::NotNull ( Expression item ) : void