File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace BlazorLazyLoading
4
4
{
5
+ /// <summary>
6
+ /// Specifies a LazyName for a Component that can be later used by <Lazy> Component.
7
+ /// </summary>
5
8
[ AttributeUsage ( AttributeTargets . Class , AllowMultiple = false , Inherited = false ) ]
6
9
public class LazyNameAttribute : Attribute
7
10
{
11
+ /// <summary>
12
+ /// LazyName
13
+ /// </summary>
8
14
public string ComponentName { get ; }
9
15
16
+ /// <inheritdoc/>
10
17
public LazyNameAttribute ( string componentName )
11
18
{
12
19
ComponentName = componentName ;
Original file line number Diff line number Diff line change 19
19
namespace BlazorLazyLoading
20
20
{
21
21
/// <summary>
22
- /// A component that supplies route data corresponding to the current navigation state.
22
+ /// Provides SPA navigation for Pages and Routes in Lazy Modules. It is a direct replacement of <Router>
23
23
/// </summary>
24
24
public class LazyRouter : IComponent , IHandleAfterRender , IDisposable
25
25
{
26
-
27
26
[ Inject ] private IManifestRepository _manifestRepository { get ; set ; } = null ! ;
28
27
29
28
[ Inject ] private IAssemblyLoader _assemblyLoader { get ; set ; } = null ! ;
30
29
30
+ /// <summary>
31
+ /// Specifies a custom 'Loading' screen.
32
+ /// </summary>
31
33
[ Parameter ] public RenderFragment < string ? > Loading { get ; set ; } = null ! ;
32
34
33
35
private bool isFirstRender = true ;
You can’t perform that action at this time.
0 commit comments