File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 22
33namespace BlazorLazyLoading
44{
5+ /// <summary>
6+ /// Specifies a LazyName for a Component that can be later used by <Lazy> Component.
7+ /// </summary>
58 [ AttributeUsage ( AttributeTargets . Class , AllowMultiple = false , Inherited = false ) ]
69 public class LazyNameAttribute : Attribute
710 {
11+ /// <summary>
12+ /// LazyName
13+ /// </summary>
814 public string ComponentName { get ; }
915
16+ /// <inheritdoc/>
1017 public LazyNameAttribute ( string componentName )
1118 {
1219 ComponentName = componentName ;
Original file line number Diff line number Diff line change 1919namespace BlazorLazyLoading
2020{
2121 /// <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>
2323 /// </summary>
2424 public class LazyRouter : IComponent , IHandleAfterRender , IDisposable
2525 {
26-
2726 [ Inject ] private IManifestRepository _manifestRepository { get ; set ; } = null ! ;
2827
2928 [ Inject ] private IAssemblyLoader _assemblyLoader { get ; set ; } = null ! ;
3029
30+ /// <summary>
31+ /// Specifies a custom 'Loading' screen.
32+ /// </summary>
3133 [ Parameter ] public RenderFragment < string ? > Loading { get ; set ; } = null ! ;
3234
3335 private bool isFirstRender = true ;
You can’t perform that action at this time.
0 commit comments