-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
1 parent
a98d4ee
commit 0179fef
Showing
2 changed files
with
11 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
namespace Piral.Blazor.DevServer; | ||
|
||
public class PiralInstance(string name, bool website) | ||
public class PiralInstance | ||
{ | ||
public string Name { get; } = name; | ||
public PiralInstance(string name, bool website) | ||
{ | ||
Name = name; | ||
IsWebsite = website; | ||
} | ||
|
||
public bool IsWebsite { get; } = website; | ||
public string Name { get; } | ||
|
||
public bool IsWebsite { get; } | ||
} |
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