示例#1
0
 /// <summary>Constructor</summary>
 /// <param name="membershipRepository">Membership Repository</param>
 /// <param name="membershipPasswordHasher">Membership Password Hasher</param>
 public MembershipService(IMembershipRepository membershipRepository, IMembershipPasswordHasher membershipPasswordHasher)
 {
     this.membershipRepository     = membershipRepository.ThrowIfNull(nameof(membershipRepository));
     this.membershipPasswordHasher = membershipPasswordHasher.ThrowIfNull(nameof(membershipPasswordHasher));
 }