mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-18 09:35:48 +00:00
Added options to enable/disable each command.
This commit is contained in:
parent
57d99681e7
commit
ab3546688b
16 changed files with 521 additions and 43 deletions
|
|
@ -575,6 +575,54 @@ namespace ServerManagerTool.Lib
|
|||
get { return (string)GetValue(DiscordChannelIdProperty); }
|
||||
set { SetValue(DiscordChannelIdProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty AllowDiscordBackupProperty = DependencyProperty.Register(nameof(AllowDiscordBackup), typeof(bool), typeof(ServerProfile), new PropertyMetadata(true));
|
||||
[DataMember]
|
||||
public bool AllowDiscordBackup
|
||||
{
|
||||
get { return (bool)GetValue(AllowDiscordBackupProperty); }
|
||||
set { SetValue(AllowDiscordBackupProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty AllowDiscordRestartProperty = DependencyProperty.Register(nameof(AllowDiscordRestart), typeof(bool), typeof(ServerProfile), new PropertyMetadata(true));
|
||||
[DataMember]
|
||||
public bool AllowDiscordRestart
|
||||
{
|
||||
get { return (bool)GetValue(AllowDiscordRestartProperty); }
|
||||
set { SetValue(AllowDiscordRestartProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty AllowDiscordShutdownProperty = DependencyProperty.Register(nameof(AllowDiscordShutdown), typeof(bool), typeof(ServerProfile), new PropertyMetadata(true));
|
||||
[DataMember]
|
||||
public bool AllowDiscordShutdown
|
||||
{
|
||||
get { return (bool)GetValue(AllowDiscordShutdownProperty); }
|
||||
set { SetValue(AllowDiscordShutdownProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty AllowDiscordStartProperty = DependencyProperty.Register(nameof(AllowDiscordStart), typeof(bool), typeof(ServerProfile), new PropertyMetadata(true));
|
||||
[DataMember]
|
||||
public bool AllowDiscordStart
|
||||
{
|
||||
get { return (bool)GetValue(AllowDiscordStartProperty); }
|
||||
set { SetValue(AllowDiscordStartProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty AllowDiscordStopProperty = DependencyProperty.Register(nameof(AllowDiscordStop), typeof(bool), typeof(ServerProfile), new PropertyMetadata(true));
|
||||
[DataMember]
|
||||
public bool AllowDiscordStop
|
||||
{
|
||||
get { return (bool)GetValue(AllowDiscordStopProperty); }
|
||||
set { SetValue(AllowDiscordStopProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty AllowDiscordUpdateProperty = DependencyProperty.Register(nameof(AllowDiscordUpdate), typeof(bool), typeof(ServerProfile), new PropertyMetadata(true));
|
||||
[DataMember]
|
||||
public bool AllowDiscordUpdate
|
||||
{
|
||||
get { return (bool)GetValue(AllowDiscordUpdateProperty); }
|
||||
set { SetValue(AllowDiscordUpdateProperty, value); }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Server Files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue