SHA256
forked from ADOFAIEditorForum/ADOFAIRenderer
Make Every Class Internal
This commit is contained in:
38 files changed
+50
-51
No files matched your search
@@ -4,7 +4,7 @@ namespace ADOFAIRenderer.Data
|
||||
/// Base class for integer input validation limits.
|
||||
/// Multiple limits can be composed on a single input field — all are checked in order.
|
||||
/// </summary>
|
||||
public abstract class IntegerLimit
|
||||
internal abstract class IntegerLimit
|
||||
{
|
||||
/// <summary>
|
||||
/// Validates the given integer value against this limit.
|
||||
@@ -21,7 +21,7 @@ namespace ADOFAIRenderer.Data
|
||||
/// <summary>
|
||||
/// Requires the integer value to be strictly positive (> 0).
|
||||
/// </summary>
|
||||
public class PositiveOnlyIntegerLimit : IntegerLimit
|
||||
internal class PositiveOnlyIntegerLimit : IntegerLimit
|
||||
{
|
||||
public override bool Validate(int value, out string errorMessage)
|
||||
{
|
||||
@@ -40,7 +40,7 @@ namespace ADOFAIRenderer.Data
|
||||
/// Requires the integer value to be within an inclusive [Min, Max] range.
|
||||
/// Either bound can be null to represent an unbounded side.
|
||||
/// </summary>
|
||||
public class RangeIntegerLimit : IntegerLimit
|
||||
internal class RangeIntegerLimit : IntegerLimit
|
||||
{
|
||||
public int? Min { get; }
|
||||
public int? Max { get; }
|
||||
|
||||
Reference in new issue
Block a user