Table of Contents

Class Recommendation

Namespace
RisingV.Shared.Engines
Assembly
RisingV.Shared.dll

Represents a recommendation for an engine.

public record Recommendation : IEquatable<Recommendation>
Inheritance
Recommendation
Implements
Inherited Members
Extension Methods

Constructors

Recommendation(string, string?)

Represents a recommendation for an engine.

public Recommendation(string Name, string? Version = null)

Parameters

Name string
Version string

Recommendation(Type, string?)

public Recommendation(Type Type, string? Version = null)

Parameters

Type Type
Version string

Properties

Name

public string Name { get; init; }

Property Value

string

Type

public Type? Type { get; init; }

Property Value

Type

Version

public string? Version { get; init; }

Property Value

string

Methods

Equals(Recommendation?)

Indicates whether the current object is equal to another object of the same type.

public virtual bool Equals(Recommendation? other)

Parameters

other Recommendation

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

IsAssignableTo(Type)

public bool IsAssignableTo(Type type)

Parameters

type Type

Returns

bool