add a scanner, but this seems to be a wrong solution. Change open-source head
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
// -----------------------------------------------------------------------------
|
||||
// file="PanelStateChangeBindingAttribute"
|
||||
// Project: StgSharp
|
||||
// Copyright (c) Nitload.
|
||||
// SPDX-License-Identifier: MIT
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -14,11 +21,11 @@ namespace StgSharp.UserInterface
|
||||
{
|
||||
|
||||
public string StatePath { get; } = string.IsNullOrWhiteSpace(statePath) ?
|
||||
throw new ArgumentException("Value cannot be null or whitespace.", nameof(statePath)) :
|
||||
throw new ArgumentException("Value cannot be null or whitespace.", nameof(statePath)) :
|
||||
statePath;
|
||||
|
||||
public string PanelHostPath { get; } = string.IsNullOrWhiteSpace(panelHostPath) ?
|
||||
throw new ArgumentException("Value cannot be null or whitespace.", nameof(panelHostPath)) :
|
||||
throw new ArgumentException("Value cannot be null or whitespace.", nameof(panelHostPath)) :
|
||||
panelHostPath;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user