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
@page "/" | |
@inherits FluxorComponent | |
@inject IState<MediatorState<TodoViewModel>> State | |
@inject IUnitOfWorkFactory UnitOfWorkFactory | |
<VDispatchOnce Dispatch="new FetchRequest(State.Value.Data)" /> | |
<VStackLayout Orientation="VOrientation.Vertical" | |
Gap="3" | |
Style="margin: 3rem auto; max-width: 30rem;"> |
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
@page "/" | |
@inherits FluxorComponent | |
@* We inject the state so we can use it in our component. *@ | |
@inject IState<MediatorState<TodoViewModel>> State | |
@* We get the unit of work to interact with the database. *@ | |
@inject IUnitOfWorkFactory UnitOfWorkFactory | |
@* We fetch the data once when the component is initialized *@ |
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
Task("Cert.Make") | |
.Does(() => | |
{ | |
if(FileExists("Scissors.FeatureCenter.Package\\Scissors.FeatureCenter.Package.pfx")) | |
{ | |
Information("Key exists, no need to regenerate it."); | |
return; | |
} | |
var subjectName = "DN=mgrun"; |
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
[TestClass] | |
public class SwitchEnumTests | |
{ | |
[TestMethod] | |
public void TestSwitcher_WithToString() | |
{ | |
StringedShape stringedShape = StringedShape.Rectangle; | |
switch (stringedShape.ToString()) |
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
# http://boxstarter.org/package/url? | |
##################### | |
# BEGIN CONFIGURATION | |
##################### | |
#region Initial Windows Config | |
Install-WindowsUpdate -AcceptEula | |
Update-ExecutionPolicy Unrestricted |