ISignedNumber<TSelf> Interfaccia
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Definisce un tipo di numero che può rappresentare valori positivi e negativi.
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)
Parametri di tipo
- TSelf
Tipo che implementa l'interfaccia .
- Derivato
- Implementazioni
-
IEquatable<TSelf> IFormattable IParsable<TSelf> ISpanFormattable ISpanParsable<TSelf> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<TSelf,TSelf> IDecrementOperators<TSelf> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<TSelf,TSelf,Boolean> IIncrementOperators<TSelf> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<TSelf,TSelf,TSelf> INumberBase<TSelf> ISubtractionOperators<TSelf,TSelf,TSelf> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<TSelf,TSelf> IUtf8SpanFormattable IUtf8SpanParsable<TSelf>
Proprietà
NegativeOne |
Ottiene il valore |
Metodi
Equals(T) |
Indica se l'oggetto corrente è uguale a un altro oggetto dello stesso tipo. (Ereditato da IEquatable<T>) |
ToString(String, IFormatProvider) |
Formatta il valore dell'istanza corrente utilizzando il formato specificato. (Ereditato da IFormattable) |
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
Prova a formattare il valore dell'istanza corrente come UTF-8 nell'intervallo di byte specificato. (Ereditato da IUtf8SpanFormattable) |
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
Tenta di formattare il valore dell'istanza corrente nell'intervallo di caratteri specificato. (Ereditato da ISpanFormattable) |
Implementazioni dell'interfaccia esplicita
IUtf8SpanFormattable.TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
Prova a formattare il valore dell'istanza corrente come UTF-8 nell'intervallo di byte specificato. (Ereditato da INumberBase<TSelf>) |
IUtf8SpanParsable<TSelf>.Parse(ReadOnlySpan<Byte>, IFormatProvider) |
Analizza un intervallo di caratteri UTF-8 in un valore. (Ereditato da INumberBase<TSelf>) |
IUtf8SpanParsable<TSelf>.TryParse(ReadOnlySpan<Byte>, IFormatProvider, TSelf) |
Prova ad analizzare un intervallo di caratteri UTF-8 in un valore. (Ereditato da INumberBase<TSelf>) |