Class ChartSetIntersection
The size of the overlap between two sets in a Venn or Euler diagram.
public sealed record ChartSetIntersection : IEquatable<ChartSetIntersection>
- Inheritance
-
ChartSetIntersection
- Implements
- Inherited Members
Constructors
ChartSetIntersection(string, string, double)
The size of the overlap between two sets in a Venn or Euler diagram.
public ChartSetIntersection(string First, string Second, double Value)
Parameters
FirststringThe first set label.
SecondstringThe second set label.
ValuedoubleThe number of shared elements.
Properties
First
The first set label.
public string First { get; init; }
Property Value
Second
The second set label.
public string Second { get; init; }
Property Value
Value
The number of shared elements.
public double Value { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out double)
public void Deconstruct(out string First, out string Second, out double Value)
Parameters
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ChartSetIntersection?)
public bool Equals(ChartSetIntersection? other)
Parameters
otherChartSetIntersection
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ChartSetIntersection?, ChartSetIntersection?)
public static bool operator ==(ChartSetIntersection? left, ChartSetIntersection? right)
Parameters
leftChartSetIntersectionrightChartSetIntersection
Returns
operator !=(ChartSetIntersection?, ChartSetIntersection?)
public static bool operator !=(ChartSetIntersection? left, ChartSetIntersection? right)
Parameters
leftChartSetIntersectionrightChartSetIntersection