Search Results for

    Show / Hide Table of Contents

    Struct Size

    Implements
    IEquatable<><Size>
    Namespace: Npgsql.Internal
    Assembly: Npgsql.dll
    Syntax
    public readonly struct Size : IEquatable<Size>

    Properties

    | Improve this Doc View Source

    Kind

    Declaration
    public SizeKind Kind { get; }
    Property Value
    Type Description
    SizeKind
    | Improve this Doc View Source

    Unknown

    Declaration
    public static Size Unknown { get; }
    Property Value
    Type Description
    Size
    | Improve this Doc View Source

    Value

    Declaration
    public int Value { get; }
    Property Value
    Type Description
    int
    | Improve this Doc View Source

    Zero

    Declaration
    public static Size Zero { get; }
    Property Value
    Type Description
    Size

    Methods

    | Improve this Doc View Source

    Combine(Size)

    Declaration
    public Size Combine(Size result)
    Parameters
    Type Name Description
    Size result
    Returns
    Type Description
    Size
    | Improve this Doc View Source

    Create(int)

    Declaration
    public static Size Create(int byteCount)
    Parameters
    Type Name Description
    int byteCount
    Returns
    Type Description
    Size
    | Improve this Doc View Source

    CreateUpperBound(int)

    Declaration
    public static Size CreateUpperBound(int byteCount)
    Parameters
    Type Name Description
    int byteCount
    Returns
    Type Description
    Size
    | Improve this Doc View Source

    Equals(Size)

    Declaration
    public bool Equals(Size other)
    Parameters
    Type Name Description
    Size other
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object? obj
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Operators

    | Improve this Doc View Source

    operator ==(Size, Size)

    Declaration
    public static bool operator ==(Size left, Size right)
    Parameters
    Type Name Description
    Size left
    Size right
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    implicit operator Size(int)

    Declaration
    public static implicit operator Size(int value)
    Parameters
    Type Name Description
    int value
    Returns
    Type Description
    Size
    | Improve this Doc View Source

    operator !=(Size, Size)

    Declaration
    public static bool operator !=(Size left, Size right)
    Parameters
    Type Name Description
    Size left
    Size right
    Returns
    Type Description
    bool

    Implements

    IEquatable<>
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team