ISignedNumber<TSelf> Arabirim

Tanım

Hem pozitif hem de negatif değerleri temsil eden bir sayı türü tanımlar.

generic <typename TSelf>
 where TSelf : ISignedNumber<TSelf>public interface class ISignedNumber : 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 : ISignedNumber<TSelf>public interface class ISignedNumber : 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 ISignedNumber<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 : ISignedNumber<TSelf>
public interface ISignedNumber<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 : ISignedNumber<TSelf>
type ISignedNumber<'Self (requires 'Self :> ISignedNumber<'Self>)> = interface
    interface INumberBase<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IEquatable<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IFormattable
    interface IParsable<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface ISpanFormattable
    interface ISpanParsable<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IDecrementOperators<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IIncrementOperators<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
type ISignedNumber<'Self (requires 'Self :> ISignedNumber<'Self>)> = interface
    interface INumberBase<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IEquatable<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IFormattable
    interface IParsable<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface ISpanFormattable
    interface ISpanParsable<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IDecrementOperators<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IIncrementOperators<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<'Self (requires 'Self :> ISignedNumber<'Self>)>
type ISignedNumber<'Self (requires 'Self :> ISignedNumber<'Self>)> = interface
    interface INumberBase<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IEquatable<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IFormattable
    interface IParsable<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface ISpanFormattable
    interface ISpanParsable<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IAdditionOperators<'Self, 'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IAdditiveIdentity<'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IDecrementOperators<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IDivisionOperators<'Self, 'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IEqualityOperators<'Self, 'Self, bool (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IIncrementOperators<'Self (requires 'Self :> ISignedNumber<'Self>)>
    interface IMultiplicativeIdentity<'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IMultiplyOperators<'Self, 'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface ISubtractionOperators<'Self, 'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IUnaryNegationOperators<'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
    interface IUnaryPlusOperators<'Self, 'Self (requires 'Self :> ISignedNumber<'Self> and 'Self :> ISignedNumber<'Self>)>
Public Interface ISignedNumber(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 ISignedNumber(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)

Tür Parametreleri

TSelf

Arabirimi uygulayan tür.

Türetilmiş
Uygulamalar

Özellikler

NegativeOne

Türün değerini -1 alır.

Yöntemler

Equals(T)

Geçerli nesnenin aynı türdeki başka bir nesneye eşit olup olmadığını gösterir.

(Devralındığı yer: IEquatable<T>)
ToString(String, IFormatProvider)

Belirtilen biçimi kullanarak geçerli örneğin değerini biçimlendirebilir.

(Devralındığı yer: IFormattable)
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Geçerli örneğin değerini belirtilen bayt aralığına UTF-8 olarak biçimlendirmeye çalışır.

(Devralındığı yer: IUtf8SpanFormattable)
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Geçerli örneğin değerini sağlanan karakter aralığına biçimlendirmeye çalışır.

(Devralındığı yer: ISpanFormattable)

Belirtik Arabirim Kullanımları

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

Hem pozitif hem de negatif değerleri temsil eden bir sayı türü tanımlar.

(Devralındığı yer: INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.Parse(ReadOnlySpan<Byte>, IFormatProvider)

UTF-8 karakterlik bir aralığı bir değere ayrıştırıyor.

(Devralındığı yer: INumberBase<TSelf>)
IUtf8SpanParsable<TSelf>.TryParse(ReadOnlySpan<Byte>, IFormatProvider, TSelf)

UTF-8 karakterlik bir aralığı bir değere ayrıştırmaya çalışır.

(Devralındığı yer: INumberBase<TSelf>)

Şunlara uygulanır