public static MutatorsConfigurator <TRoot, TChild, TValue> MustBeEqualTo <TRoot, TChild, TValue>( this MutatorsConfigurator <TRoot, TChild, TValue> configurator, TValue expectedValue, Expression <Func <TValue, TValue, MultiLanguageTextBase> > message, int priority = 0, ValidationResultType type = ValidationResultType.Error) { return(configurator.MustBeEqualTo(child => expectedValue, message, priority, type)); }
public static MutatorsConfigurator <TRoot, TChild, TValue> MustBeEqualTo <TRoot, TChild, TValue>( this MutatorsConfigurator <TRoot, TChild, TValue> configurator, TValue expectedValue, IEqualityComparer <TValue> comparer = null, int priority = 0, ValidationResultType type = ValidationResultType.Error) { return(configurator.MustBeEqualTo(child => expectedValue, comparer, priority, type)); }