Search Results for

    Show / Hide Table of Contents

    Struct MinMax

    Namespace: AS2
    Assembly: .dll
    Syntax
    public struct MinMax

    Constructors

    | Edit this page View Source

    MinMax(float, float, bool)

    Declaration
    public MinMax(float min, float max, bool wholeNumbersOnly)
    Parameters
    Type Name Description
    float min
    float max
    bool wholeNumbersOnly

    Fields

    | Edit this page View Source

    max

    Declaration
    public float max
    Field Value
    Type Description
    float
    | Edit this page View Source

    min

    Declaration
    public float min
    Field Value
    Type Description
    float
    | Edit this page View Source

    wholeNumbersOnly

    Declaration
    public bool wholeNumbersOnly
    Field Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    Equals(object)

    Indicates whether this instance and a specified object are equal.

    Declaration
    public override bool Equals(object minMax)
    Parameters
    Type Name Description
    object minMax
    Returns
    Type Description
    bool

    true if obj and this instance are the same type and represent the same value; otherwise, false.

    Overrides
    System.ValueType.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A 32-bit signed integer that is the hash code for this instance.

    Overrides
    System.ValueType.GetHashCode()
    | Edit this page View Source

    Parse(string)

    Declaration
    public static MinMax Parse(string text)
    Parameters
    Type Name Description
    string text
    Returns
    Type Description
    MinMax
    | Edit this page View Source

    ToString()

    Returns the fully qualified type name of this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    The fully qualified type name.

    Overrides
    System.ValueType.ToString()

    Operators

    | Edit this page View Source

    operator ==(MinMax, MinMax)

    Declaration
    public static bool operator ==(MinMax minMax1, MinMax minMax2)
    Parameters
    Type Name Description
    MinMax minMax1
    MinMax minMax2
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(MinMax, MinMax)

    Declaration
    public static bool operator !=(MinMax minMax1, MinMax minMax2)
    Parameters
    Type Name Description
    MinMax minMax1
    MinMax minMax2
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top AmoebotSim 2.0 Documentation v1.11
    Copyright © 2025 AmoebotSim 2.0 Authors
    Generated by DocFX