GetCustomProperties() public method

public GetCustomProperties ( UserProfile userProfile ) : string>.IDictionary
userProfile UserProfile
return string>.IDictionary
コード例 #1
0
 public void GetCustomPropertiesShouldReturnEmptyProperties([CoreDb]Db db, [Content]ProfileTemplate template, DbItem profileItem, UserProfileProvider userProfileProvider, UserProfile userProfile)
 {
   userProfileProvider.GetCustomProperties(userProfile).Should().BeEmpty();
 }
コード例 #2
0
 public void GetCustomPropertiesShouldReturnProperties([CoreDb]Db db, [Content]ProfileTemplate template, [Content]DbItem profileItem, UserProfileProvider userProfileProvider, UserProfile userProfile)
 {
   userProfileProvider.GetCustomProperties(userProfile).Should().ContainKeys("FirstName", "LastName", "Phone");
 }