예제 #1
0
        private void SubscribeToEvents()
        {
            firstConnection.Added   += (_, item) => secondConnection.Add(item);
            firstConnection.Deleted += (_, item) => secondConnection.Add(item);

            secondConnection.Added   += (_, item) => OnAdded(item);
            secondConnection.Deleted += (_, item) => OnDeleted(item);
        }
예제 #2
0
 public void Add(TBase item)
 {
     baseStat.Add(item);
 }
예제 #3
0
 public void Add(TIn item)
 {
     connection.Add(item);
 }
예제 #4
0
 public void Add(TIn item)
 {
     baseStat.Add(item);
 }
예제 #5
0
 public void Add(TIn item)
 {
     firstConnection.Add(item);
 }