Class ServiceRoot
Inheritance
System.Object
ServiceRoot
Implements
Namespace: MediaBrowser.Controller.Base
Assembly: MediaBrowser.Controller.dll
Syntax
public class ServiceRoot : IServiceRoot
Constructors
ServiceRoot(IApplicationHost)
Declaration
public ServiceRoot(IApplicationHost appHost)
Parameters
Type | Name | Description |
---|---|---|
IApplicationHost | appHost |
ServiceRoot(ILogManager, IApplicationHost)
Declaration
public ServiceRoot(ILogManager logManager, IApplicationHost appHost)
Parameters
Type | Name | Description |
---|---|---|
ILogManager | logManager | |
IApplicationHost | appHost |
Properties
LogManager
Declaration
public ILogManager LogManager { get; }
Property Value
Type | Description |
---|---|
ILogManager |
Methods
GetService<T>()
Declaration
public T GetService<T>()
where T : class
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |