Skip to main content

ControlReloader Class

Definition​

Assembly:AvaloniaUI.DiagnosticsSupport.HotReload
Package:AvaloniaUI.DiagnosticsSupport.HotReload
public class ControlReloader

Inheritance: object -> ControlReloader

Constructors​

NameDescription
ControlReloader (2 overloads)No summary available.

ControlReloader overloads​

ControlReloader Constructor​

public ControlReloader(Avalonia.Application application)
Parameters​

application Avalonia.Application

ControlReloader Constructor​

public ControlReloader(Avalonia.Application application, Func<System.Collections.Generic.IEnumerable<Avalonia.Controls.TopLevel>> topLevelProvider)
Parameters​

application Avalonia.Application

topLevelProvider Func<System.Collections.Generic.IEnumerable<Avalonia.Controls.TopLevel>>

Methods​

NameDescription
ReloadNo summary available.

Reload Method​

public int Reload(Type targetType, string xamlContent, string filePath)

Parameters​

targetType Type

xamlContent string

filePath string

Returns​

int