Skip to content

Instantly share code, notes, and snippets.

@Porges
Created November 13, 2012 23:54
Show Gist options
  • Save Porges/4069238 to your computer and use it in GitHub Desktop.
Save Porges/4069238 to your computer and use it in GitHub Desktop.
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);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment