C# Class ToSic.SexyContent.DynamicEntity

Inheritance: System.Dynamic.DynamicObject
Datei anzeigen Open project: 2sic/2sxc Class Usage Examples

Public Properties

Property Type Description
Configuration ContentConfiguration

Private Properties

Property Type Description

Public Methods

Method Description
DynamicEntity ( IEntity entityModel, string dimensions, SxcInstance sexy ) : System

Constructor with EntityModel and DimensionIds

GetDraft ( ) : dynamic
GetEntityValue ( string attributeName, bool &propertyNotFound ) : object
GetPublished ( ) : dynamic
Render ( ) : IHtmlString
TryGetMember ( GetMemberBinder binder, object &result ) : bool
TryGetMember ( string memberName, object &result ) : bool

Method Details

DynamicEntity() public method

Constructor with EntityModel and DimensionIds
public DynamicEntity ( IEntity entityModel, string dimensions, SxcInstance sexy ) : System
entityModel IEntity
dimensions string
sexy SxcInstance
return System

GetDraft() public method

public GetDraft ( ) : dynamic
return dynamic

GetEntityValue() public method

public GetEntityValue ( string attributeName, bool &propertyNotFound ) : object
attributeName string
propertyNotFound bool
return object

GetPublished() public method

public GetPublished ( ) : dynamic
return dynamic

Render() public method

public Render ( ) : IHtmlString
return IHtmlString

TryGetMember() public method

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder
result object
return bool

TryGetMember() public method

public TryGetMember ( string memberName, object &result ) : bool
memberName string
result object
return bool

Property Details

Configuration public_oe property

public ContentConfiguration Configuration
return ContentConfiguration