Using generics in Unity ... InvalidCastException
- by Sunny D
Hi,
My interface definition is:
public interface IInterface where T:UserControl
My class definition is:
public partial class App1Control : UserControl, IInterface
The unity section of my app.config looks as below:
<unity>
<typeAliases>
<typeAlias alias="singleton"…