Class RedirectedPageItem
public class RedirectedPageItem : IRedirectedItem, IPageItem, IItem, IEquatable<IItem>, ITranslationArgument
- Inheritance
-
RedirectedPageItem
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
RedirectedPageItem()
public RedirectedPageItem()
RedirectedPageItem(byte, byte, Page, byte, RedirectType, string?)
public RedirectedPageItem(byte x, byte y, Page page, byte rotation, RedirectType item, string? variant)
Parameters
Properties
Item
public RedirectType Item { get; init; }
Property Value
Page
public Page Page { get; init; }
Property Value
Rotation
public byte Rotation { get; init; }
Property Value
Variant
public string? Variant { get; init; }
Property Value
X
public byte X { get; init; }
Property Value
Y
public byte Y { get; init; }
Property Value
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
Equals(IItem?)
Indicates whether the current object is equal to another object of the same type.
public virtual bool Equals(IItem? other)
Parameters
otherIItemAn 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.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Translate(ITranslationValueFormatter, in ValueFormatParameters)
Allows objects to define how they're translated in their own definition instead of creating a value converter.
public string Translate(ITranslationValueFormatter formatter, in ValueFormatParameters parameters)
Parameters
formatterITranslationValueFormatterparametersValueFormatParameters