Skip to content

Instantly share code, notes, and snippets.

class UberQueue<T> : IAsyncQueue<T>
{
private IAsyncQueue<T>[] _queues;
private Task<T>[] _current;
public UberQueue(IAsyncQueue<T>[] queues)
{
_queues = queues;
@namespace Skclusive.Reactive.App.View
@inherits MaterialComponentBase
@using Skclusive.Core.Collection
@page "/reactive-form"
<div class="position: relative;padding: 32px;">
<FormView
Form="@Form"
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Skclusive.Core.Component;
using Skclusive.Material.Component;
using Skclusive.Material.Layout;
namespace Skclusive.Dashboard.App.View
{
public class DashboardStyleProvider : StyleTypeProvider
{
using Skclusive.Core.Component;
namespace Skclusive.Dashboard.App.View
{
public class ChartJsInteropScript : ScriptBase
{
public override string GetScript()
{
return
#region ChartJsInterop.js
@namespace Skclusive.Dashboard.App.View
@inherits StyleComponentBase
.settings-root {
padding: 32px;
}
.settings-notification-item {
display: flex;
flex-direction: column;
@namespace Skclusive.Dashboard.App.View
@using Skclusive.Material.Theme
<ThemeProvider
Light="@Light"
Dark="@Dark">
<RouterLayout
Main="@typeof(FullLayout)"
Mini="@typeof(SmallLayout)" />
</ThemeProvider>
@inherits TodoComponent
<section class="main">
@if (HasTodos)
{
<TodoToggleAll />
}
<ul class="todo-list">
@foreach (var todo in FilteredTodos)
{
using Xunit;
namespace ClientSide.Models
{
public class TestTodoStore
{
[Fact]
public void TestStore()
{
var store = ModelTypes.StoreType.Create(new TodoStoreSnapshot
using System;
using System.Collections.Generic;
using System.Linq;
using Skclusive.Mobx.StateTree;
namespace ClientSide.Models
{
public class ModelTypes
{
public readonly static IObjectType<ITodoSnapshot, ITodo> TodoType = Types.
using Skclusive.Mobx.Observable;
using Skclusive.Mobx.StateTree;
using System.Collections.Generic;
namespace ClientSide.Models
{
#region ITodoStore
public interface ITodoStoreSnapshot
{