コード例 #1
0
 public void LoadCollection(IEnumerable <TInterface> collection)
 {
     PrivateCollection.Clear();
     foreach (var c in collection)
     {
         PrivateCollection.Add((TImplementation)c);
     }
 }
コード例 #2
0
 public void Add(TInterface entity)
 {
     PrivateCollection.Add((TImplementation)entity);
 }