advanced userinterface design
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace StgSharp.UserInterface
|
||||
{
|
||||
public abstract class PanelState
|
||||
{
|
||||
|
||||
protected PanelState(
|
||||
string name
|
||||
)
|
||||
{
|
||||
Name = string.IsNullOrWhiteSpace(name) ?
|
||||
throw new ArgumentException("Value cannot be null or whitespace.", nameof(name)) :
|
||||
name;
|
||||
}
|
||||
|
||||
public string Name { get; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user