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