Skip to content

Instantly share code, notes, and snippets.

View japf's full-sized avatar

Jeremy Alles japf

View GitHub Profile
@japf
japf / SmartObjectBuilder.cs
Created August 12, 2016 12:24
A helper class that can create object instance that have dependencies to interface by guessing class that implement those interfaces.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.Practices.Unity;