Пример #1
0
 public Storage AddPartition(Partition partition)
 {
     if (partition != null)
         Partitions[partition.ID] = partition;
     return this;
 }
Пример #2
0
 public Topic AddPartition(Partition partition)
 {
     Partitions.Add(partition);
     return this;
 }
Пример #3
0
 public bool Equals(Partition partition)
 {
     return this.ID.Equals(partition.ID);
 }