IEqualityOperators<TSelf,TOther,TResult> Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a mechanism for comparing two values to determine equality.
generic <typename TSelf, typename TOther, typename TResult>
where TSelf : IEqualityOperators<TSelf, TOther, TResult>public interface class IEqualityOperators
C#
public interface IEqualityOperators<TSelf,TOther,TResult> where TSelf : IEqualityOperators<TSelf,TOther,TResult>
type IEqualityOperators<'Self, 'Other, 'Result (requires 'Self :> IEqualityOperators<'Self, 'Other, 'Result>)> = interface
Public Interface IEqualityOperators(Of TSelf, TOther, TResult)
- TSelf
The type that implements this interface.
- TOther
The type that will be compared with TSelf
.
- TResult
The type that is returned as a result of the comparison.
- Derived
Equality(TSelf, TOther) |
Compares two values to determine equality. |
Inequality(TSelf, TOther) |
Compares two values to determine inequality. |
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET | 7, 8, 9, 10 |
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา
คำติชม .NET
.NET เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม: