コード例 #1
0
 internal VerifyMemberRulePackage(Type declaringType, VerifiableMemberContract contract, CorrectValueRule rule)
 {
     DeclaringType = declaringType ?? throw new ArgumentNullException(nameof(declaringType));
     _contract     = contract ?? throw new ArgumentNullException(nameof(contract));
     _rule         = rule ?? throw new ArgumentNullException(nameof(rule));
 }
コード例 #2
0
 private VerifyMemberRulePackage()
 {
     DeclaringType = typeof(object);
     _contract     = default;
     _rule         = default;
 }