-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve DSC summary view loading performance (#3397)
- Loading branch information
1 parent
8440838
commit 6ce663a
Showing
8 changed files
with
248 additions
and
91 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
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
44 changes: 44 additions & 0 deletions
44
tools/SetupFlow/DevHome.SetupFlow/ViewModels/DSCConfigurationUnitDetailsViewModel.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,44 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
using DevHome.Services.DesiredStateConfiguration.Contracts; | ||
|
||
namespace DevHome.SetupFlow.ViewModels; | ||
|
||
public class DSCConfigurationUnitDetailsViewModel | ||
{ | ||
private readonly IDSCUnitDetails _unitDetails; | ||
|
||
public DSCConfigurationUnitDetailsViewModel(IDSCUnitDetails unitDetails) | ||
{ | ||
_unitDetails = unitDetails; | ||
} | ||
|
||
public string UnitType => _unitDetails.UnitType; | ||
|
||
public string UnitDescription => _unitDetails.UnitDescription; | ||
|
||
public string UnitDocumentationUri => _unitDetails.UnitDocumentationUri; | ||
|
||
public string ModuleName => _unitDetails.ModuleName; | ||
|
||
public string ModuleType => _unitDetails.ModuleType; | ||
|
||
public string ModuleSource => _unitDetails.ModuleSource; | ||
|
||
public string ModuleDescription => _unitDetails.ModuleDescription; | ||
|
||
public string ModuleDocumentationUri => _unitDetails.ModuleDocumentationUri; | ||
|
||
public string PublishedModuleUri => _unitDetails.PublishedModuleUri; | ||
|
||
public string Version => _unitDetails.Version; | ||
|
||
public bool IsLocal => _unitDetails.IsLocal; | ||
|
||
public string Author => _unitDetails.Author; | ||
|
||
public string Publisher => _unitDetails.Publisher; | ||
|
||
public bool IsPublic => _unitDetails.IsPublic; | ||
} |
Oops, something went wrong.