Changed config type of Whitelist to use custom class

This commit is contained in:
Brett Hewitson 2021-12-19 11:46:09 +10:00
parent a74bc2dc78
commit 197fd1a811
11 changed files with 34 additions and 52 deletions

View file

@ -2,9 +2,9 @@
namespace ServerManagerTool.Common.Model
{
public class DiscordBotWhitelist : DependencyObject
public class DiscordBotWhitelistItem : DependencyObject
{
public static readonly DependencyProperty BotIdProperty = DependencyProperty.Register(nameof(BotId), typeof(string), typeof(DiscordBotWhitelist), new PropertyMetadata(""));
public static readonly DependencyProperty BotIdProperty = DependencyProperty.Register(nameof(BotId), typeof(string), typeof(DiscordBotWhitelistItem), new PropertyMetadata(""));
public string BotId
{