[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.ServiceBuilder-2

ServiceBuilder<TControl, TBuilder> Class

Defines a builder to configurate C1.Web.Mvc.Service.

Inheritance
HideObjectMembers
BaseBuilder<TControl, TBuilder>
ComponentBuilder<TControl, TBuilder>
ServiceBuilder<TControl, TBuilder>
Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public abstract class ServiceBuilder<TControl, TBuilder> : ComponentBuilder<TControl, TBuilder>, IHtmlString, ITemplateBuilder<TBuilder> where TControl : Service where TBuilder : ServiceBuilder<TControl, TBuilder>
Type Parameters
Name Description
TControl
TBuilder

Constructors

Name Description
ServiceBuilder(TControl)

Creates one ServiceBuilder<TControl, TBuilder> instance to configurate service.

Methods

Name Description
Id(string)

Configurates Id. Sets the id of the service.

TemplateBind(string, string)

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

ToTemplate()

Transfers current builder to template mode.

Extension Methods