Skip to content

Instantly share code, notes, and snippets.

@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;">
@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 *@
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";
[TestClass]
public class SwitchEnumTests
{
[TestMethod]
public void TestSwitcher_WithToString()
{
StringedShape stringedShape = StringedShape.Rectangle;
switch (stringedShape.ToString())
# http://boxstarter.org/package/url?
#####################
# BEGIN CONFIGURATION
#####################
#region Initial Windows Config
Install-WindowsUpdate -AcceptEula
Update-ExecutionPolicy Unrestricted