C# Class DD4T.Mvc.ViewModels.Attributes.RichTextFieldAttribute

A Rich Text field. Uses the default ResolveRichText extension method.
This Attribute is dependent on a specific implementation for resolving Rich Text. In future versions of DD4T, the rich text resolver will hopefully be abstracted to allow for IoC, but for now, to change the behavior you must implement your own Attribute.
Inheritance: DD4T.ViewModels.Attributes.FieldAttributeBase, ILinkablePropertyAttribute
Show file Open project: dd4t/DD4T.MVC

Public Methods

Method Description
GetFieldValues ( IField field, IModelProperty property, ITemplate template, IViewModelFactory factory ) : IEnumerable
GetPropertyValues ( IModel modelData, IModelProperty property, IViewModelFactory builder, IContextModel contextModel ) : IEnumerable

Method Details

GetFieldValues() public method

public GetFieldValues ( IField field, IModelProperty property, ITemplate template, IViewModelFactory factory ) : IEnumerable
field IField
property IModelProperty
template ITemplate
factory IViewModelFactory
return IEnumerable

GetPropertyValues() public method

public GetPropertyValues ( IModel modelData, IModelProperty property, IViewModelFactory builder, IContextModel contextModel ) : IEnumerable
modelData IModel
property IModelProperty
builder IViewModelFactory
contextModel IContextModel
return IEnumerable