Interface IViewBrowserServiceFactory
Factory interface for creating instances of IViewBrowserService.
Namespace: Serenity.ViewBrowser.Application.Interfaces
Assembly: Serenity.ViewBrowser.Application.dll
Syntax
public interface IViewBrowserServiceFactory
Methods
CreateService(string, int)
Create a new instance of IViewBrowserService.
Declaration
IViewBrowserService CreateService(string serviceName, int maxHistoryDepth = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | serviceName | The name of the service to create. |
| int | maxHistoryDepth | Maximum number of entries retained in the created service's navigation history. A value less than or equal to zero means unlimited (default) — preserves the append-only, uncapped behaviour. |
Returns
| Type | Description |
|---|---|
| IViewBrowserService | A new instance of IViewBrowserService. |