Exemplo n.º 1
0
 /// <summary>
 /// Removes the network component from the list.
 /// Very heavy operation and should not be used unless needed due to re-alloc of array.
 /// </summary>
 /// <param name="networkComponent">Network component.</param>
 public virtual void RemoveNetworkComponent(EiNetInterface networkComponent)
 {
     networkComponents = networkComponents.Remove(networkComponent);
     cachedPackageSize = -1;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Adds the network component to the list.
 /// Very heavy operation and should not be used unless needed due to re-alloc of array.
 /// </summary>
 /// <param name="networkComponent">Network component.</param>
 public virtual void AddNetworkComponent(EiNetInterface networkComponent)
 {
     networkComponents = networkComponents.Add(networkComponent);
     cachedPackageSize = -1;
 }