Skip to content

Instantly share code, notes, and snippets.

View jmarnold's full-sized avatar

Josh Arnold jmarnold

View GitHub Profile
@jmarnold
jmarnold / 2.md
Last active December 20, 2015 02:58 — forked from anonymous/2.md
Reflection Kata 2

Reflection Kata 2

  • Level: Beginner
  • Target time: 5 minutes

Setup

Begin by creating a new Console application in Visual Studio called: ReflectionKata2. You will need to create two files:

  1. ReflectionTarget.cs
  2. ReflectionTests.cs
@jmarnold
jmarnold / Basic.cs
Created December 22, 2012 18:01 — forked from anonymous/Basic.cs
var validator = Validator.BasicValidator();
@jmarnold
jmarnold / pluginrunner.cs
Created January 8, 2012 05:23 — forked from schotime/pluginrunner.cs
Plugin Runner
public interface IActivity
{
void Run();
bool Matches(int i);
}
public class PluginActivator
{
private readonly IContainer _container;
@jmarnold
jmarnold / gist:1252725
Created September 30, 2011 05:05 — forked from msbukkuri/gist:1252697
CsvPrinter
class Program
{
static void Main(string[] args)
{
var values = new List<Sample>();
for (var i = 0; i < 10; i++)
{
values.Add(new Sample
{
Prop1 = Guid.NewGuid().ToString(),
@jmarnold
jmarnold / IModelTypeCoordinator.cs
Created July 29, 2011 06:03 — forked from schotime/gist:1113211
ValidationBehavior<T>
public interface IModelTypeCoordinator
{
IValidationModel FindGetFor(Type postType);
}