Class ReflectionConfiguration
- Namespace
- Icy.Configuration
- Assembly
- IcyUI.dll
Represents configuration for the reflection-related service used in library.
public class ReflectionConfiguration
- Inheritance
-
ReflectionConfiguration
- Inherited Members
- Extension Methods
Properties
AssemblyResolver
Gets or sets an instance of the IAssemblyResolver used in library.
public IAssemblyResolver AssemblyResolver { get; set; }
Property Value
Diagnostics
Gets or sets the catalog of registered debug overlays and HUD panels.
public DebugToolRegistry Diagnostics { get; set; }
Property Value
Remarks
Configure it fluently through ConfigureDiagnostics(IConfigurationBuilder, Action<DebugToolRegistry>).
Markup
Gets or sets the markup facet: which types markup may name, how they're constructed, and how bare text becomes objects.
public MarkupConfiguration Markup { get; set; }
Property Value
Remarks
Markup lives here rather than in a section of its own because it is built entirely out of the other three services on this configuration - AssemblyResolver resolves its type names, TypeConverter converts its attribute values, and PropertyRegistry resolves its properties. Configure it fluently through ConfigureMarkup(IConfigurationBuilder, Action<MarkupConfiguration>).
PropertyRegistry
Gets or sets the PropertyRegistry this configuration resolves registered properties through.
public PropertyRegistry PropertyRegistry { get; set; }
Property Value
Remarks
Defaults to whichever registry was Current when this configuration was created - normally Default. Assigning a different registry only affects objects also built against it: a DependencyObject captures its registry at construction, so create elements inside a UseScope(PropertyRegistry) for the same registry rather than swapping this afterwards. See the remarks on PropertyRegistry.
TypeConverter
Gets or sets an instance of the ITypeConverter used in library.
public ITypeConverter TypeConverter { get; set; }