C# Class Felinesoft.UmbracoCodeFirst.Core.Modules.ContentTypeRegister

Show file Open project: DanMannMann/UmbracoCodeFirst Class Usage Examples

Public Methods

Method Description
ContentTypeRegister ( ContentTypeRegisterController &controller ) : System
GetContentType ( Type type ) : ContentTypeRegistration
GetContentType ( string alias ) : ContentTypeRegistration
IsRegistered ( Type type ) : bool
IsRegistered ( string alias ) : bool
TryGetContentType ( Type type, ContentTypeRegistration &registration ) : bool
TryGetContentType ( string alias, ContentTypeRegistration &registration ) : bool

Private Methods

Method Description
StripProxy ( Type type ) : Type

Method Details

ContentTypeRegister() public method

public ContentTypeRegister ( ContentTypeRegisterController &controller ) : System
controller ContentTypeRegisterController
return System

GetContentType() public method

public GetContentType ( Type type ) : ContentTypeRegistration
type System.Type
return ContentTypeRegistration

GetContentType() public method

public GetContentType ( string alias ) : ContentTypeRegistration
alias string
return ContentTypeRegistration

IsRegistered() public method

public IsRegistered ( Type type ) : bool
type System.Type
return bool

IsRegistered() public method

public IsRegistered ( string alias ) : bool
alias string
return bool

TryGetContentType() public method

public TryGetContentType ( Type type, ContentTypeRegistration &registration ) : bool
type System.Type
registration ContentTypeRegistration
return bool

TryGetContentType() public method

public TryGetContentType ( string alias, ContentTypeRegistration &registration ) : bool
alias string
registration ContentTypeRegistration
return bool