4 ms·
Actually you can make it even more concise with an inferred array var isValidShort = createPasswordPolicy(new [] { Test.MinimumLength(8), T
by cgrealy 8y ago
Actually you can make it even more concise with an inferred array
var isValidShort = createPasswordPolicy(new [] {
Test.MinimumLength(8),
Test.MustHaveDigits,
Test.MustHaveUppercase,
});