[]
Defines a builder to configurate C1.Web.Mvc.Service.
public abstract class ServiceBuilder<TControl, TBuilder> : ComponentBuilder<TControl, TBuilder>, IHtmlContent, ITemplateBuilder<TBuilder> where TControl : Service where TBuilder : ServiceBuilder<TControl, TBuilder>
Public MustInherit Class ServiceBuilder(Of TControl As Service, TBuilder As ServiceBuilder(Of TControl, TBuilder))
Inherits ComponentBuilder(Of TControl, TBuilder)
Implements IHtmlContent, ITemplateBuilder(Of TBuilder)
| Name | Description |
|---|---|
| TControl | |
| TBuilder |
| Name | Description |
|---|---|
| ServiceBuilder(TControl) | Creates one ServiceBuilder<TControl, TBuilder> instance to configurate |
| 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. |