backports missing logic and tests from 7 that I overlooked.

This commit is contained in:
Shannon
2013-12-17 16:13:38 +11:00
parent 82b2821e27
commit 137d859532
8 changed files with 251 additions and 18 deletions

View File

@@ -20,6 +20,17 @@ namespace Umbraco.Core.Models
private object _providerUserKey;
private Type _userTypeKey;
/// <summary>
/// Constructor for creating a Member object
/// </summary>
/// <param name="name">Name of the content</param>
/// <param name="contentType">ContentType for the current Content object</param>
public Member(string name, IMemberType contentType)
: base(name, -1, contentType, new PropertyCollection())
{
_contentType = contentType;
}
internal Member(string name, string email, string username, string password, int parentId, IMemberType contentType)
: base(name, parentId, contentType, new PropertyCollection())
{