Skip to content

Class ScreenReadableInterfaceConverter

Definition

Namespace: StardewUI.ModIntegration
Assembly: StardewUI.dll

Converts a general IScreenReadable to ScreenReadableData

public class ScreenReadableInterfaceConverter : 
    StardewUI.Framework.Converters.IValueConverter<StardewValley.Menus.IScreenReadable, StardewUI.ModIntegration.ScreenReadableData>, 
    StardewUI.Framework.Converters.IValueConverter

Inheritance
Object ⇦ ScreenReadableInterfaceConverter

Implements
IValueConverterScreenReadableData>, IValueConverter

Members

Constructors

Name Description
ScreenReadableInterfaceConverter()

Methods

Name Description
Convert(IScreenReadable) Converts a value from the source type to the destination type.

Details

Constructors

ScreenReadableInterfaceConverter()

public ScreenReadableInterfaceConverter();

Methods

Convert(IScreenReadable)

Converts a value from the source type to the destination type.

public StardewUI.ModIntegration.ScreenReadableData Convert(StardewValley.Menus.IScreenReadable value);
Parameters

value   IScreenReadable
The value to convert.

Returns

ScreenReadableData