IUnsignedNumber<TSelf> Interfejs

Definicja

Definiuje typ liczbowy, który może reprezentować tylko wartości dodatnie.

generic <typename TSelf>
 where TSelf : IUnsignedNumber<TSelf>public interface class IUnsignedNumber : IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, System::Numerics::IAdditionOperators<TSelf, TSelf, TSelf>, System::Numerics::IAdditiveIdentity<TSelf, TSelf>, System::Numerics::IDecrementOperators<TSelf>, System::Numerics::IDivisionOperators<TSelf, TSelf, TSelf>, System::Numerics::IEqualityOperators<TSelf, TSelf, bool>, System::Numerics::IIncrementOperators<TSelf>, System::Numerics::IMultiplicativeIdentity<TSelf, TSelf>, System::Numerics::IMultiplyOperators<TSelf, TSelf, TSelf>, System::Numerics::INumberBase<TSelf>, System::Numerics::ISubtractionOperators<TSelf, TSelf, TSelf>, System::Numerics::IUnaryNegationOperators<TSelf, TSelf>, System::Numerics::IUnaryPlusOperators<TSelf, TSelf>
generic <typename TSelf>
 where TSelf : IUnsignedNumber<TSelf>public interface class IUnsignedNumber : IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, IUtf8SpanParsable<TSelf>, System::Numerics::IAdditionOperators<TSelf, TSelf, TSelf>, System::Numerics::IAdditiveIdentity<TSelf, TSelf>, System::Numerics::IDecrementOperators<TSelf>, System::Numerics::IDivisionOperators<TSelf, TSelf, TSelf>, System::Numerics::IEqualityOperators<TSelf, TSelf, bool>, System::Numerics::IIncrementOperators<TSelf>, System::Numerics::IMultiplicativeIdentity<TSelf, TSelf>, System::Numerics::IMultiplyOperators<TSelf, TSelf, TSelf>, System::Numerics::INumberBase<TSelf>, System::Numerics::ISubtractionOperators<TSelf, TSelf, TSelf>, System::Numerics::IUnaryNegationOperators<TSelf, TSelf>, System::Numerics::IUnaryPlusOperators<TSelf, TSelf>
public interface IUnsignedNumber<TSelf> : IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, System.Numerics.IAdditionOperators<TSelf,TSelf,TSelf>, System.Numerics.IAdditiveIdentity<TSelf,TSelf>, System.Numerics.IDecrementOperators<TSelf>, System.Numerics.IDivisionOperators<TSelf,TSelf,TSelf>, System.Numerics.IEqualityOperators<TSelf,TSelf,bool>, System.Numerics.IIncrementOperators<TSelf>, System.Numerics.IMultiplicativeIdentity<TSelf,TSelf>, System.Numerics.IMultiplyOperators<TSelf,TSelf,TSelf>, System.Numerics.INumberBase<TSelf>, System.Numerics.ISubtractionOperators<TSelf,TSelf,TSelf>, System.Numerics.IUnaryNegationOperators<TSelf,TSelf>, System.Numerics.IUnaryPlusOperators<TSelf,TSelf> where TSelf : IUnsignedNumber<TSelf>
public interface IUnsignedNumber<TSelf> : IEquatable<TSelf>, IParsable<TSelf>, ISpanParsable<TSelf>, IUtf8SpanParsable<TSelf>, System.Numerics.IAdditionOperators<TSelf,TSelf,TSelf>, System.Numerics.IAdditiveIdentity<TSelf,TSelf>, System.Numerics.IDecrementOperators<TSelf>, System.Numerics.IDivisionOperators<TSelf,TSelf,TSelf>, System.Numerics.IEqualityOperators<TSelf,TSelf,bool>, System.Numerics.IIncrementOperators<TSelf>, System.Numerics.IMultiplicativeIdentity<TSelf,TSelf>, System.Numerics.IMultiplyOperators<TSelf,TSelf,TSelf>, System.Numerics.INumberBase<TSelf>, System.Numerics.ISubtractionOperators<TSelf,TSelf,TSelf>, System.Numerics.IUnaryNegationOperators<TSelf,TSelf>, System.Numerics.IUnaryPlusOperators<TSelf,TSelf> where TSelf : IUnsignedNumber<TSelf>
type IUnsignedNumber<'Self (requires 'Self :> IUnsignedNumber<'Self>)> = interface
    interface INumberBase<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IEquatable<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IFormattable
    interface IParsable<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface ISpanFormattable
    interface ISpanParsable<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IDecrementOperators<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IIncrementOperators<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
type IUnsignedNumber<'Self (requires 'Self :> IUnsignedNumber<'Self>)> = interface
    interface INumberBase<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IEquatable<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IFormattable
    interface IParsable<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface ISpanFormattable
    interface ISpanParsable<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IDecrementOperators<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IIncrementOperators<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
type IUnsignedNumber<'Self (requires 'Self :> IUnsignedNumber<'Self>)> = interface
    interface INumberBase<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IEquatable<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IFormattable
    interface IParsable<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface ISpanFormattable
    interface ISpanParsable<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IDecrementOperators<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IIncrementOperators<'Self (requires 'Self :> IUnsignedNumber<'Self>)>
    interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
    interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> IUnsignedNumber<'Self> and 'Self :> IUnsignedNumber<'Self>)>
Public Interface IUnsignedNumber(Of TSelf)
Implements IAdditionOperators(Of TSelf, TSelf, TSelf), IAdditiveIdentity(Of TSelf, TSelf), IDecrementOperators(Of TSelf), IDivisionOperators(Of TSelf, TSelf, TSelf), IEqualityOperators(Of TSelf, TSelf, Boolean), IEquatable(Of TSelf), IIncrementOperators(Of TSelf), IMultiplicativeIdentity(Of TSelf, TSelf), IMultiplyOperators(Of TSelf, TSelf, TSelf), INumberBase(Of TSelf), IParsable(Of TSelf), ISpanParsable(Of TSelf), ISubtractionOperators(Of TSelf, TSelf, TSelf), IUnaryNegationOperators(Of TSelf, TSelf), IUnaryPlusOperators(Of TSelf, TSelf)
Public Interface IUnsignedNumber(Of TSelf)
Implements IAdditionOperators(Of TSelf, TSelf, TSelf), IAdditiveIdentity(Of TSelf, TSelf), IDecrementOperators(Of TSelf), IDivisionOperators(Of TSelf, TSelf, TSelf), IEqualityOperators(Of TSelf, TSelf, Boolean), IEquatable(Of TSelf), IIncrementOperators(Of TSelf), IMultiplicativeIdentity(Of TSelf, TSelf), IMultiplyOperators(Of TSelf, TSelf, TSelf), INumberBase(Of TSelf), IParsable(Of TSelf), ISpanParsable(Of TSelf), ISubtractionOperators(Of TSelf, TSelf, TSelf), IUnaryNegationOperators(Of TSelf, TSelf), IUnaryPlusOperators(Of TSelf, TSelf), IUtf8SpanParsable(Of TSelf)

Parametry typu

TSelf

Typ implementujący interfejs.

Pochodne
Implementuje

Metody

Equals(T)

Wskazuje, czy bieżący obiekt jest równy innemu obiektowi tego samego typu.

(Odziedziczone po IEquatable<T>)
ToString(String, IFormatProvider)

Formatuje wartość bieżącego wystąpienia przy użyciu określonego formatu.

(Odziedziczone po IFormattable)
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Próbuje sformatować wartość bieżącego wystąpienia jako UTF-8 w podanym zakresie bajtów.

(Odziedziczone po IUtf8SpanFormattable)
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Próbuje sformatować wartość bieżącego wystąpienia w podanym zakresie znaków.

(Odziedziczone po ISpanFormattable)

Jawne implementacje interfejsu

IUtf8SpanFormattable.TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Definiuje typ liczbowy, który może reprezentować tylko wartości dodatnie.

(Odziedziczone po INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.Parse(ReadOnlySpan<Byte>, IFormatProvider)

Analizuje zakres znaków UTF-8 w wartość.

(Odziedziczone po INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.TryParse(ReadOnlySpan<Byte>, IFormatProvider, TSelf)

Próbuje przeanalizować zakres znaków UTF-8 w wartość.

(Odziedziczone po INumberBase<TSelf>)

Dotyczy