-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- RonSijm.Blazyload 1.1.1 - Added validation so see which dlls are a…
…lready non-lazy loaded, so we don't have to attempt to lazy load them at all.
- Loading branch information
Showing
7 changed files
with
120 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/RonSijm.Blazyload/Features/DIComponents/Models/BlazorBootModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace RonSijm.Blazyload.Features.DIComponents.Models; | ||
|
||
public class BlazorBootModel | ||
{ | ||
[JsonPropertyName("cacheBootResources")] | ||
public bool CacheBootResources { get; set; } | ||
|
||
[JsonPropertyName("config")] | ||
public List<object> Config { get; set; } | ||
|
||
[JsonPropertyName("debugBuild")] | ||
public bool DebugBuild { get; set; } | ||
|
||
[JsonPropertyName("entryAssembly")] | ||
public string EntryAssembly { get; set; } | ||
|
||
[JsonPropertyName("icuDataMode")] | ||
public int IcuDataMode { get; set; } | ||
|
||
[JsonPropertyName("linkerEnabled")] | ||
public bool LinkerEnabled { get; set; } | ||
|
||
[JsonPropertyName("resources")] | ||
public Resources Resources { get; set; } | ||
} |
12 changes: 12 additions & 0 deletions
12
src/RonSijm.Blazyload/Features/DIComponents/Models/DotnetWasm.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace RonSijm.Blazyload.Features.DIComponents.Models; | ||
|
||
public class DotnetWasm | ||
{ | ||
[JsonPropertyName("behavior")] | ||
public string Behavior { get; set; } | ||
|
||
[JsonPropertyName("hash")] | ||
public string Hash { get; set; } | ||
} |
30 changes: 30 additions & 0 deletions
30
src/RonSijm.Blazyload/Features/DIComponents/Models/Resources.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace RonSijm.Blazyload.Features.DIComponents.Models; | ||
|
||
public class Resources | ||
{ | ||
[JsonPropertyName("assembly")] | ||
public Dictionary<string, string> Assembly { get; set; } | ||
|
||
[JsonPropertyName("extensions")] | ||
public object Extensions { get; set; } | ||
|
||
[JsonPropertyName("lazyAssembly")] | ||
public Dictionary<string, string> LazyAssembly { get; set; } | ||
|
||
[JsonPropertyName("libraryInitializers")] | ||
public object LibraryInitializers { get; set; } | ||
|
||
[JsonPropertyName("pdb")] | ||
public Dictionary<string, string> Pdb { get; set; } | ||
|
||
[JsonPropertyName("runtime")] | ||
public Dictionary<string, string> Runtime { get; set; } | ||
|
||
[JsonPropertyName("runtimeAssets")] | ||
public RuntimeAssets RuntimeAssets { get; set; } | ||
|
||
[JsonPropertyName("satelliteResources")] | ||
public object SatelliteResources { get; set; } | ||
} |
9 changes: 9 additions & 0 deletions
9
src/RonSijm.Blazyload/Features/DIComponents/Models/RuntimeAssets.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace RonSijm.Blazyload.Features.DIComponents.Models; | ||
|
||
public class RuntimeAssets | ||
{ | ||
[JsonPropertyName("dotnet.wasm")] | ||
public DotnetWasm DotnetWasm { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters