/// <summary> /// Check if property is not null or empty. /// </summary> /// <returns>Current instance.</returns> public PropertyValidator <TRow> IsNotNullOrEmpty() { StringRule <TRow> method = new StringRule <TRow>((x) => this.getter(x)); method.IsNotNullOrEmpty(); this.validationRules.Add(method); return(this); }