mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 13:07:21 +00:00
Improved DI
This commit is contained in:
1 file changed
+2
-2
@@ -16,10 +16,10 @@ namespace AIStudio.Components.Blocks;
|
|||||||
public partial class Workspaces : ComponentBase
|
public partial class Workspaces : ComponentBase
|
||||||
{
|
{
|
||||||
[Inject]
|
[Inject]
|
||||||
private SettingsManager SettingsManager { get; set; } = null!;
|
private SettingsManager SettingsManager { get; init; } = null!;
|
||||||
|
|
||||||
[Inject]
|
[Inject]
|
||||||
private IDialogService DialogService { get; set; } = null!;
|
private IDialogService DialogService { get; init; } = null!;
|
||||||
|
|
||||||
[Inject]
|
[Inject]
|
||||||
private ThreadSafeRandom RNG { get; init; } = null!;
|
private ThreadSafeRandom RNG { get; init; } = null!;
|
||||||
|
|||||||
Reference in new issue
Block a user