Exemple #1
0
 internal PeerDescriptor(PeerDescriptor other)
 {
     Peer                = new Peer(other.Peer);
     Subscriptions       = ArrayUtil.Copy(other.Subscriptions) ?? ArrayUtil.Empty <Subscription>();
     IsPersistent        = other.IsPersistent;
     TimestampUtc        = other.TimestampUtc;
     HasDebuggerAttached = other.HasDebuggerAttached;
 }
 public UnpackedCombiner Clone() => new UnpackedCombiner(
     ArrayUtil.Copy(this.cA),
     ArrayUtil.Copy(this.cB),
     ArrayUtil.Copy(this.cC),
     ArrayUtil.Copy(this.cD),
     ArrayUtil.Copy(this.aA),
     ArrayUtil.Copy(this.aB),
     ArrayUtil.Copy(this.aC),
     ArrayUtil.Copy(this.aD));
 void System.Collections.ICollection.CopyTo(Array array, int index)
 {
     ArrayUtil.Copy(_lst, array, index);
 }