private void SetDictionaryWordsSubstringsChecker(ISubstringsChecker<string> dictionaryWordsSubstringsChecker) { Assert.ArgumentNotNull(dictionaryWordsSubstringsChecker, "dictionaryWordsSubstringsChecker"); DictionaryWordsSubstringsChecker = dictionaryWordsSubstringsChecker; }
public PreventDictionaryWordPasswordsMembershipProvider(MembershipProvider innerMembershipProvider, ISubstringsChecker<string> dictionaryWordsSubstringsChecker) { SetInnerMembershipProvider(innerMembershipProvider); SetDictionaryWordsSubstringsChecker(dictionaryWordsSubstringsChecker); }