public MemberFilter(string propertyName, MemberFilterType filterType, string propertyValue) { if (propertyName == null) { throw new ArgumentNullException("propertyName"); } if (propertyName.Length == 0) { throw new ArgumentException(null, "propertyName"); } if (!MemberFilterTypeChecker.IsValidMemberFilterType(filterType)) { throw new ArgumentException(null, "filterType"); } if (propertyValue == null) { throw new ArgumentNullException("propertyValue"); } this.propertyName = propertyName; this.propertyValue = propertyValue; this.filterType = filterType; }
internal static bool IsValidMemberFilterType(MemberFilterType type) { return(type >= MemberFilterType.Equals && type <= MemberFilterType.Contains); }
public MemberFilter(string propertyName, MemberFilterType filterType, string propertyValue) { throw new NotImplementedException(); }