30 lines
914 B
C#
30 lines
914 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using VDash.WindowSelectors;
|
|
|
|
namespace VDash.Overlay.Config
|
|
{
|
|
public class WindowOverlayConfig : IOverlayConfig
|
|
{
|
|
public WindowOverlayConfig(string name, string key, IWindowSelector selector, bool updateDashboardName, bool destroyOnNoWindowFound)
|
|
{
|
|
Name = name;
|
|
Key = key;
|
|
Selector = selector;
|
|
UpdateDashboardName = updateDashboardName;
|
|
DestroyOnNoWindowFound = destroyOnNoWindowFound;
|
|
}
|
|
public WindowOverlayConfig() { }
|
|
|
|
public string Name { get; set; }
|
|
public string Key { get; set; }
|
|
|
|
public IWindowSelector Selector {get; set; }
|
|
public bool UpdateDashboardName { get; set; } = false;
|
|
public bool DestroyOnNoWindowFound { get; set; } = false;
|
|
}
|
|
}
|