Update BaseMonoApp.cs
This commit is contained in:
parent
cce80f6816
commit
8ba72e9740
|
@ -14,6 +14,13 @@ namespace MediaBrowser.Server.Mac
|
|||
{
|
||||
public abstract class BaseMonoApp : INativeApp
|
||||
{
|
||||
protected ILogger Logger { get; private set; }
|
||||
|
||||
protected BaseMonoApp(ILogger logger)
|
||||
{
|
||||
Logger = logger;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Shutdowns this instance.
|
||||
/// </summary>
|
||||
|
@ -38,6 +45,11 @@ namespace MediaBrowser.Server.Mac
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public IDbConnector GetDbConnector()
|
||||
{
|
||||
return new DbConnector(Logger);
|
||||
}
|
||||
|
||||
public virtual bool SupportsLibraryMonitor
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user