public override bool Equals(Object obj) { //Check for null and compare run-time types. if ((obj == null) || !this.GetType().Equals(obj.GetType())) { return(false); } else { MPLSFibRecord p = (MPLSFibRecord)obj; return((InputPort == p.InputPort) && (InputLabel == p.InputLabel) && (OutputPort == p.OutputPort) && (Enumerable.SequenceEqual(OutputLabel, p.OutputLabel)) && (Index == p.Index)); } }
public static void RemoveElement(MPLSFibRecord record) { MplsFibTable.Remove(record); }
public static void AddElement(MPLSFibRecord record) { MplsFibTable.Add(record); }