Table of Contents

Class Variant

Namespace
BlazOrbit.Components
Assembly
BlazOrbit.Core.dll

Base type for strongly-typed component variants. Equality compares variant type and name.

public abstract class Variant : IVariant
Inheritance
object
Variant
Implements
Derived

Constructors

Variant(string)

Constructs a variant with the given name.

protected Variant(string name)

Parameters

name string

Properties

Name

Stable identifier for the variant.

public string Name { get; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string