[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.BaseCollectionViewServiceBuilder-3.NewItemCreator

NewItemCreator Method

NewItemCreator(string)

Configurates NewItemCreator. Sets a function that creates new items for the collection.

Declaration
public virtual TBuilder NewItemCreator(string value)
Parameters
Type Name Description
string value

The value.

Returns
Type Description
TBuilder

Current builder.

Remarks

If the creator function is not supplied, try to create an uninitialized item of the appropriate type.