logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ParseUtils.Bool.BoolStrings

    Utility class for converting boolean values to various string representations

    Inheritance
    object
    ParseUtils.Bool.BoolStrings
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Shared.Utils
    Assembly: Serenity.Shared.dll
    Syntax
    public static class ParseUtils.Bool.BoolStrings

    Methods

    GetBoolString(BoolStringsTypes, bool)

    Convert a boolean value to its string representation based on the specified type

    Declaration
    public static string GetBoolString(ParseUtils.Bool.BoolStringsTypes type, bool value)
    Parameters
    Type Name Description
    ParseUtils.Bool.BoolStringsTypes type

    The type of string representation to use

    bool value

    The boolean value to convert

    Returns
    Type Description
    string

    The string representation of the boolean value

    In this article
    © 2026 Serenity. All Rights Reserved