Skip to content

Class ThisPropertyDescriptor

Definition

Namespace: StardewUI.Framework.Descriptors
Assembly: StardewUI.dll

Helper for obtaining a ThisPropertyDescriptor<T> using a type known only at runtime.

public static class ThisPropertyDescriptor

Inheritance
Object ⇦ ThisPropertyDescriptor

Members

Methods

Name Description
ForTypeUncached(Type) Gets the ThisPropertyDescriptor<T> corresponding to a specified type.

Details

Methods

ForTypeUncached(Type)

Gets the ThisPropertyDescriptor<T> corresponding to a specified type.

public static StardewUI.Framework.Descriptors.IPropertyDescriptor ForTypeUncached(System.Type type);
Parameters

type   Type
The object type.

Returns

IPropertyDescriptor

The ThisPropertyDescriptor<T> instance for the given type.