[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.ServiceBuilder-2.TemplateBind

TemplateBind Method

TemplateBind(string, string)

When the builder works in template mode, bind the property which name is specified to some item which name is specified.

Declaration
public virtual TBuilder TemplateBind(string propertyName, string boundName)
Parameters
Type Name Description
string propertyName

The specified property name.

string boundName

The specified item name in DataContext.

Returns
Type Description
TBuilder

Current builder.

Implements
Remarks

It only works in template mode.