public class BaseClass
{
public int Id { get; set; }
}
public class DerivedClass : BaseClass
{
public float MoreData { get; set; }//Dimensions ect. Inventory data
}
public class ContainerClass<T> where T : BaseClass
{
public IList<T> OrderItems { get; set; }
}
public class EnhancedContainerClass : ContainerClass<DerivedClass>
{
}
EnhancedContainerClass enhanced = new EnhancedContainerClass();
... slapping generates a class with
List<BaseClass>
where it should generate List<DerivedClass>
This is a stinker for me :(. Any chance you might be able to address this? I LOVE SLAPPER!
waltlounsbury@gmail.com
This is a stinker for me :(. Any chance you might be able to address this? I LOVE SLAPPER! waltlounsbury@gmail.com