GetCustomProperties() public method

public GetCustomProperties ( UserProfile userProfile ) : string>.IDictionary
userProfile UserProfile
return string>.IDictionary
Exemplo n.º 1
0
 public void GetCustomPropertiesShouldReturnEmptyProperties([CoreDb]Db db, [Content]ProfileTemplate template, DbItem profileItem, UserProfileProvider userProfileProvider, UserProfile userProfile)
 {
   userProfileProvider.GetCustomProperties(userProfile).Should().BeEmpty();
 }
Exemplo n.º 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");
 }