A List(Of Entity) IList(Of IWeightable). ( OtherWeightable IWeightable):
Dim list As IList(Of IWeightable) = New List(Of Entity)
list.Add(new OtherWeightable)
- - OtherWeightable List(Of Entity).
.NET 4 . Calculate entities, :
Public Sub Calculate(ByVal entites As IEnumerable(Of IWeightable))
IList(Of T) , IEnumerable(Of T) T, API - T - T IEnumerable(Of T). , List(Entity) IEnumerable(Of IWeightable).
- - -2010 , . NDC 2010. ( "".)
.NET 3.5 , Konrad Calculate generic - .