Skip to content

StardewUI.Framework.Descriptors Namespace

Classes

Name Description
DescriptorException The exception that is thrown when an error occurs while reading or building the metadata for a bound view or one of its data sources.
DescriptorFactory Factory for obtaining descriptors, encapsulating both dynamic (reflection) and static (precompiled) descriptors.
ExpressionFieldDescriptor<T, TValue> Implementation of a field descriptor using a compiled expression tree.
LazyExpressionFieldDescriptor Helper for creating LazyExpressionFieldDescriptor<TValue> with types not known at compile time.
LazyExpressionFieldDescriptor<TValue> Implementation of a field descriptor that supports a transition between two inner descriptor types.
PrecompiledEventDescriptor<TTarget, THandler> Statically-typed implementation of an IEventDescriptor with predefined attributes.
PrecompiledMethodDescriptor<TTarget, TReturn> Statically-typed implementation of an IMethodDescriptor<T> with predefined attributes.
PrecompiledPropertyDescriptor<TTarget, TProperty> Statically-typed implementation of an IPropertyDescriptor<T> with predefined attributes.
ReferenceViewDefaults View defaults based on a reference view.
ReflectionEventDescriptor Helper for creating IEventDescriptor instances using reflection.
ReflectionEventDescriptor<TTarget, THandler> Reflection-based implementation of an event descriptor.
ReflectionFieldDescriptor<TValue> Implementation of a field descriptor based on reflection.
ReflectionMethodDescriptor Helper for creating IMethodDescriptor instances using reflection.
ReflectionObjectDescriptor Object descriptor based on reflection.
ReflectionPropertyDescriptor Helper for creating ReflectionPropertyDescriptor<T, TValue> with types not known at compile time.
ReflectionPropertyDescriptor<T, TValue> Binding property based on reflection.
ReflectionViewDescriptor View descriptor based on reflection.
ThisPropertyDescriptor Helper for obtaining a ThisPropertyDescriptor<T> using a type known only at runtime.
ThisPropertyDescriptor<T> Special descriptor used for "this" references in argument/attribute bindings, allowing them to reference the current context instead of a property on it.

Interfaces

Name Description
IEventDescriptor Describes a single event on some type.
IMemberDescriptor Describes a single member (property, method, or event) of a bindable object, such as a view.
IMethodDescriptor Describes a single method on some type.
IMethodDescriptor<T> Describes a single method on some type, and provides a wrapper method to invoke it.
IObjectDescriptor Describes a type of object that participates in view binding, either as the target or the source.
IPropertyDescriptor Describes a single property on a bindable object (i.e. a view).
IPropertyDescriptor<T> Describes a single property on a bindable object (i.e. a view) and provides methods to read or write the value.
IViewDefaults Provides access to the default values of a view's properties.
IViewDescriptor Describes a type of view that can be used in a view binding.