Table of Contents

Class MetadataSpecProperty

Namespace
Playnite.SDK.Models
Assembly
Playnite.SDK.dll

Represents metadata property referencing specification object by id.

public class MetadataSpecProperty : MetadataProperty, IEquatable<MetadataSpecProperty>
Inheritance
MetadataSpecProperty
Implements
Inherited Members

Constructors

MetadataSpecProperty(string)

Creates new instance of MetadataSpecProperty.

public MetadataSpecProperty(string specId)

Parameters

specId string

Properties

Id

Gets specification id.

public string Id { get; }

Property Value

string

Methods

Equals(MetadataSpecProperty)

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

public bool Equals(MetadataSpecProperty other)

Parameters

other MetadataSpecProperty

An object to compare with this object.

Returns

bool

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

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

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

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

public override string ToString()

Returns

string