-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
299 additions
and
352 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,11 @@ | ||
namespace LAPS_WebUI.Models | ||
{ | ||
public class ADComputer | ||
public class AdComputer(string distinguishedName, string name) | ||
{ | ||
public ADComputer(string DistinguishedName, string name) | ||
{ | ||
this.DistinguishedName = DistinguishedName; | ||
this.Name = name; | ||
} | ||
|
||
public string Name { get; set; } | ||
|
||
public string DistinguishedName { get; set; } | ||
public List<LapsInformation>? LAPSInformations { get; set; } | ||
public bool FailedToRetrieveLAPSDetails { get; set; } | ||
public bool Loading | ||
{ | ||
get | ||
{ | ||
if (LAPSInformations is null) | ||
{ | ||
return true; | ||
} | ||
else | ||
{ | ||
return false; | ||
} | ||
} | ||
} | ||
public string Name { get; set; } = name; | ||
public string DistinguishedName { get; set; } = distinguishedName; | ||
public List<LapsInformation>? LapsInformations { get; set; } | ||
public bool FailedToRetrieveLapsDetails { get; set; } | ||
public bool Loading => LapsInformations is null; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@page "/" | ||
@inject ISessionManagerService sessionManager | ||
@inject ISessionManagerService SessionManager | ||
@inject NavigationManager NavigationManager |
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
Oops, something went wrong.