Table of Contents

Class Dependency

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

Represents a dependency for an engine.

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

Constructors

Dependency(Type, string?)

Represents a dependency for an engine.

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

Parameters

Type Type

The type of the dependency.

Version string

The version of the dependency, if applicable.

Properties

Type

The type of the dependency.

public Type Type { get; init; }

Property Value

Type

Version

The version of the dependency, if applicable.

public string? Version { get; init; }

Property Value

string

Methods

Equals(Dependency?)

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

public virtual bool Equals(Dependency? other)

Parameters

other Dependency

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.