Table of Contents

Class ChartSetIntersection

Namespace
TwBlazor.Models
Assembly
TwBlazor.dll

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

First string

The first set label.

Second string

The second set label.

Value double

The number of shared elements.

Properties

First

The first set label.

public string First { get; init; }

Property Value

string

Second

The second set label.

public string Second { get; init; }

Property Value

string

Value

The number of shared elements.

public double Value { get; init; }

Property Value

double

Methods

Deconstruct(out string, out string, out double)

public void Deconstruct(out string First, out string Second, out double Value)

Parameters

First string
Second string
Value double

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ChartSetIntersection?)

public bool Equals(ChartSetIntersection? other)

Parameters

other ChartSetIntersection

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ChartSetIntersection?, ChartSetIntersection?)

public static bool operator ==(ChartSetIntersection? left, ChartSetIntersection? right)

Parameters

left ChartSetIntersection
right ChartSetIntersection

Returns

bool

operator !=(ChartSetIntersection?, ChartSetIntersection?)

public static bool operator !=(ChartSetIntersection? left, ChartSetIntersection? right)

Parameters

left ChartSetIntersection
right ChartSetIntersection

Returns

bool