Interface IMenuServiceFactory
Factory interface for creating menu services with specified service name and view browser service.
Namespace: Serenity.Menu.Application.Interfaces.Services.Factories
Assembly: Serenity.Menu.Application.dll
Syntax
public interface IMenuServiceFactory
Methods
CreateService(string)
Creates a new instance of a menu service.
Declaration
IMenuService CreateService(string serviceName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | serviceName | The name of the service to create. |
Returns
| Type | Description |
|---|---|
| IMenuService | A new instance of a menu service. |