2 implementations of IHotReloadableView
Microsoft.Maui.Controls (2)
ContentPage\ContentPage.cs (1)
14
public partial class ContentPage : TemplatedPage, IContentView, HotReload.
IHotReloadableView
View\View.cs (1)
20
public partial class View : VisualElement, IViewController, IGestureController, IGestureRecognizers, IView, IPropertyMapperView,
IHotReloadableView
, IControlsView
21 references to IHotReloadableView
Microsoft.Maui (13)
HotReload\HotReloadHelper.cs (13)
21
public static void AddActiveView(
IHotReloadableView
view) => ActiveViews.Add(view);
35
public static void Register(
IHotReloadableView
view, params object[] parameters)
47
public static void UnRegister(
IHotReloadableView
view)
58
public static bool IsReplacedView(
IHotReloadableView
view, IView newView)
74
public static IView GetReplacedView(
IHotReloadableView
view)
111
static void TransferState(
IHotReloadableView
oldView, IView newView)
116
static internal readonly WeakList<
IHotReloadableView
> ActiveViews = new WeakList<
IHotReloadableView
>();
118
static Dictionary<
IHotReloadableView
, object[]> currentViews = new Dictionary<
IHotReloadableView
, object[]>();
151
if (typeof(
IHotReloadableView
).IsAssignableFrom(newViewType))
190
List<
IHotReloadableView
>? roots = null;
203
foreach (
var
view in roots)
Microsoft.Maui.Controls (8)
ContentPage\ContentPage.cs (4)
120
HotReload.IReloadHandler HotReload.
IHotReloadableView
.ReloadHandler { get; set; }
122
void HotReload.
IHotReloadableView
.TransferState(IView newView)
130
void HotReload.
IHotReloadableView
.Reload()
135
var reloadHandler = ((
IHotReloadableView
)this).ReloadHandler;
View\View.cs (4)
315
IReloadHandler
IHotReloadableView
.ReloadHandler { get; set; }
317
void
IHotReloadableView
.TransferState(IView newView)
324
void
IHotReloadableView
.Reload()
330
var reloadHandler = ((
IHotReloadableView
)this).ReloadHandler;