Skip to content

Commit 88607ee

Browse files
committed
fix: Returned the ExcludeNone parameter and marked it obsolete
1 parent c6f3c92 commit 88607ee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Runtime/Attributes/TypeOptionsAttribute.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ public class TypeOptionsAttribute : PropertyAttribute
2525
/// Defaults to <see langword="true"/> unless explicitly specified.
2626
/// </summary>
2727
[PublicAPI] public bool ShowNoneElement = true;
28+
29+
/// <summary>
30+
/// Use <see cref="ShowNoneElement"/> instead.
31+
/// </summary>
32+
[PublicAPI, Obsolete("Use ShowNoneElement instead.")] public bool ExcludeNone = false;
2833

2934
/// <summary>Includes additional types in the drop-down list.</summary>
3035
[PublicAPI] public Type[] IncludeTypes;

0 commit comments

Comments
 (0)