-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathModuleA.cs
More file actions
44 lines (36 loc) · 1.12 KB
/
ModuleA.cs
File metadata and controls
44 lines (36 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using System;
namespace Lemon.ModuleNavigation.Sample.ModuleAs;
public class ModuleA : Module<ViewA, ViewModelA>
{
public ModuleA(IServiceProvider serviceProvider) : base(serviceProvider)
{
}
/// <summary>
/// Specifies whether this module needs to be loaded on demand
/// Default value is True
/// </summary>
public override bool LoadOnDemand => false;
/// <summary>
/// Alias of module for displaying usually
/// Default value is class name of Module
/// </summary>
public override string? Alias => base.Alias;
/// <summary>
/// Specifies whether this module allow multiple instances
/// If true,every navigation to this module will generate a new instance.
/// Default value is false.
/// </summary>
public override bool ForceNew => base.ForceNew;
/// <summary>
/// Specifies whether this module can be unloaded.
/// Default value is false.
/// </summary>
public override bool CanUnload => base.CanUnload;
/// <summary>
/// Initialize
/// </summary>
public override void Initialize()
{
base.Initialize();
}
}