Adding ContentType class and GetContentTypes methods to IContentManager and IContentProvider

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4042626
This commit is contained in:
loudej
2009-11-29 06:08:46 +00:00
parent 4b14786efd
commit 940e2bce07
21 changed files with 107 additions and 13 deletions

View File

@@ -3,6 +3,8 @@ using Orchard.Security;
namespace Orchard.Users.Models {
public sealed class User : ContentPart<UserRecord>, IUser {
public readonly static ContentType ContentType = new ContentType { Name = "user", DisplayName = "User Profile" };
public int Id {
get { return ContentItem.Id; }
}