mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
remove box
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
// Copyright (c) DGP Studio. All rights reserved.
|
||||
// Licensed under the MIT license.
|
||||
|
||||
namespace Snap.Hutao.Control;
|
||||
|
||||
/// <summary>
|
||||
/// 封装的值
|
||||
/// </summary>
|
||||
[HighQuality]
|
||||
internal static class BoxedValues
|
||||
{
|
||||
/// <summary>
|
||||
/// <see cref="true"/>
|
||||
/// </summary>
|
||||
public static readonly object True = true;
|
||||
|
||||
/// <summary>
|
||||
/// <see cref="false"/>
|
||||
/// </summary>
|
||||
public static readonly object False = false;
|
||||
}
|
||||
@@ -16,7 +16,7 @@ internal sealed class StringBoolConverter : EmptyStringToObjectConverter
|
||||
/// </summary>
|
||||
public StringBoolConverter()
|
||||
{
|
||||
EmptyValue = BoxedValues.False;
|
||||
NotEmptyValue = BoxedValues.True;
|
||||
EmptyValue = false;
|
||||
NotEmptyValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user