Skip to content

Instantly share code, notes, and snippets.

@christopherhouse
Created November 5, 2013 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christopherhouse/7325108 to your computer and use it in GitHub Desktop.
Save christopherhouse/7325108 to your computer and use it in GitHub Desktop.
namespace ThirteenDaysAWeek.TypeLoadFromString
{
public interface IDomainModel
{
}
public class Domain<T>
where T : IDomainModel
{
public T Model { get; set; }
}
public class CustomerModel : IDomainModel
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment