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
-
objectVariant
- Implements
- Derived
Constructors
Variant(string)
Constructs a variant with the given name.
protected Variant(string name)
Parameters
namestring
Properties
Name
Stable identifier for the variant.
public string Name { get; }
Property Value
- string
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
ToString()
public override string ToString()
Returns
- string