[]
Defines a builder to configurate C1.Web.Mvc.Service.
public abstract class ServiceBuilder<TControl, TBuilder> : ComponentBuilder<TControl, TBuilder>, IHtmlString, ITemplateBuilder<TBuilder> where TControl : Service where TBuilder : ServiceBuilder<TControl, 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. |