Have the following Interface
public interface IFoo<T> : IComparable<IPayRecordField<T>> where T : IComparable
I want auto fill all properties of IFoo with the implementation Foo. Using Structuremap
EXample
class SomeClass
{
IFoo<string> MyFoo {get; set;} //this should be autofilled by structuremap with an instance of Foo<string>
}