<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
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
type Layout = | |
| Ukn | |
| Studio | |
| Roomed of Beds:int * Baths:float | |
type Listing = { | |
Apt : Property | |
Layout : Layout | |
Size : float | |
Price : float |
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
using System; | |
using System.Threading.Channels; | |
using System.Threading.Tasks; | |
namespace ChannelsAreCool | |
{ | |
//Disclaimer : I didn't actually run this code so it might not quite work. | |
//Feel free to complain or ask questions and i'll fix it. | |
public static class Example | |
{ |
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
using System; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Threading.Tasks.Dataflow; | |
namespace randomTPLRepro | |
{ | |
class Program | |
{ |
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
using System; | |
using System.Collections.Concurrent; | |
using System.Threading; | |
using System.Threading.Channels; | |
using System.Threading.Tasks; | |
namespace HomebrewDataflow | |
{ | |
public abstract class WorkflowStageBase<TIn> |
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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace BatchedAwait | |
{ | |
public static class EntryPoint |
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
let sum = [1..10] |> List.reduce (+) |
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
// See https://aka.ms/new-console-template for more information | |
using CsCheck; | |
Console.WriteLine("Hello, World!"); | |
TestIteratedDirectIntegerSpaceCoverage(); | |
void TestEnumeratedSpaceCoverage() | |
{ |
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
service ControlPlane { | |
rpc QueryUsage (QueryConsumptionRequest) returns (QueryConsumptionResponse) {} | |
rpc RegisterHandler (RegisterHandlerRequest) returns (RegisterHandlerResponse) {} | |
} |
OlderNewer