Class Dependency
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
Properties
Type
The type of the dependency.
public Type Type { get; init; }
Property Value
Version
The version of the dependency, if applicable.
public string? Version { get; init; }
Property Value
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
DependencyAn object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.