29 lines
708 B
C#
29 lines
708 B
C#
using System;
|
|
|
|
namespace FlowScope.UI
|
|
{
|
|
internal sealed class UIPanelRecord
|
|
{
|
|
public UIPanelRecord(
|
|
Type panelType,
|
|
string layerName,
|
|
IUIPanel panel,
|
|
IDisposable handle,
|
|
PanelStrategy strategy)
|
|
{
|
|
PanelType = panelType;
|
|
LayerName = layerName;
|
|
Panel = panel;
|
|
Handle = handle;
|
|
Strategy = strategy;
|
|
}
|
|
|
|
public Type PanelType { get; }
|
|
public string LayerName { get; }
|
|
public IUIPanel Panel { get; }
|
|
public IDisposable Handle { get; }
|
|
public PanelStrategy Strategy { get; }
|
|
public bool IsOpen { get; set; }
|
|
}
|
|
}
|