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

NotNull() public static method

public static NotNull ( Expression item ) : void
item Expression
return void
        public static void NotNull(Expression<Func<object>> item)
        {
            string propName = ((MemberExpression) item.Body).Member.Name;
            NotNull(item.Compile()(), propName);
        }

Same methods

Guard::NotNull ( object item, string propName ) : void