-
Couldn't load subscription status.
- Fork 13
markdoccore IViewModel
Denis Akopyan edited this page Mar 6, 2022
·
1 revision
Interface for view models
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph MarkDoc.Core
MarkDoc.Core.IViewModel[[IViewModel]]
class MarkDoc.Core.IViewModel interfaceStyle;
end
subgraph System
System.IDisposable[[IDisposable]]
end
System.IDisposable --> MarkDoc.Core.IViewModel
| Type | Name | Methods |
|---|---|---|
bool |
IsLoadingDetermines whether the view model is loading |
get |
| Returns | Name |
|---|---|
ValueTask |
OnLoadedAsync()Executed when the IView<out TViewModel> loads |
Task |
SetNamedArguments(IReadOnlyDictionary<string, string> arguments) |
Interface for view models
IDisposable
public abstract Task SetNamedArguments(IReadOnlyDictionary<string, string> arguments)| Type | Name | Description |
|---|---|---|
IReadOnlyDictionary<string, string> |
arguments |
public abstract ValueTask OnLoadedAsync()Executed when the IView<out TViewModel> loads
public abstract bool IsLoading { get }Determines whether the view model is loading
Generated with MarkDoc