Skip to content

Instantly share code, notes, and snippets.

View Porges's full-sized avatar
🏠
Working from home

George Pollard Porges

🏠
Working from home
View GitHub Profile
@Porges
Porges / Helpers.Client.cs
Created July 6, 2018 03:16 — forked from johnazariah/Helpers.Client.cs
Getting Started with Orleans 2.0 on .NET Core
using Microsoft.Extensions.Logging;
using Orleans;
using Orleans.Configuration;
using Orleans.Hosting;
using System;
using System.Threading.Tasks;
namespace Orleans2GettingStarted
{
internal static class ClientDevelopmentHelpers
@Porges
Porges / Generic Blow Out
Created November 13, 2012 23:54
How to stop generic blow outs
public interface IQueryHandler<in TQuery, QueryResult> // for some reason out parameters can't be 'out', I probably need to read up why
{
/// result indicates success?
bool Handle(TQuery query, out TQueryResult);
}