ISignedNumber<TSelf> 인터페이스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
양수 값과 음수를 모두 나타낼 수 있는 숫자 형식을 정의합니다.
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)
형식 매개 변수
- TSelf
인터페이스를 구현하는 형식입니다.
- 파생
- 구현
-
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>
속성
NegativeOne |
형식에 대한 |
메서드
Equals(T) |
현재 개체가 같은 형식의 다른 개체와 같은지 여부를 나타냅니다. (다음에서 상속됨 IEquatable<T>) |
ToString(String, IFormatProvider) |
지정된 형식을 사용하여 현재 인스턴스의 값 형식을 지정합니다. (다음에서 상속됨 IFormattable) |
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
현재 인스턴스의 값을 제공된 바이트 범위로 UTF-8로 서식을 지정하려고 시도합니다. (다음에서 상속됨 IUtf8SpanFormattable) |
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
현재 인스턴스의 값을 제공된 문자 범위로 서식을 지정하려고 시도합니다. (다음에서 상속됨 ISpanFormattable) |
명시적 인터페이스 구현
IUtf8SpanFormattable.TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
현재 인스턴스의 값을 제공된 바이트 범위로 UTF-8로 서식을 지정하려고 시도합니다. (다음에서 상속됨 INumberBase<TSelf>) |
IUtf8SpanParsable<TSelf>.Parse(ReadOnlySpan<Byte>, IFormatProvider) |
UTF-8 문자의 범위를 값으로 구문 분석합니다. (다음에서 상속됨 INumberBase<TSelf>) |
IUtf8SpanParsable<TSelf>.TryParse(ReadOnlySpan<Byte>, IFormatProvider, TSelf) |
UTF-8 문자의 범위를 값으로 구문 분석하려고 시도합니다. (다음에서 상속됨 INumberBase<TSelf>) |
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET