Example #1
0
        public override object Clone()
        {
            ConnectivityNodeContainer io = new ConnectivityNodeContainer(base.GlobalId);

            io.Measurements = this.Measurements;
            io.AliasName    = this.AliasName;
            io.Mrid         = this.Mrid;
            io.Name         = this.Name;

            return(io);
        }
 public override bool Equals(object obj)
 {
     if (base.Equals(obj))
     {
         ConnectivityNodeContainer cnc = (ConnectivityNodeContainer)obj;
         return(CompareHelper.CompareLists(cnc.connectivityNodes, this.connectivityNodes));
     }
     else
     {
         return(false);
     }
 }
Example #3
0
 public override bool Equals(object x)
 {
     if (base.Equals(x))
     {
         ConnectivityNodeContainer c = (ConnectivityNodeContainer)x;
         return(CompareHelper.CompareLists(c.ConnectivityNodes, this.ConnectivityNodes));
     }
     else
     {
         return(false);
     }
 }
 public override bool Equals(object obj)
 {
     if ((true && base.Equals(obj)))
     {
         ConnectivityNodeContainer x = (ConnectivityNodeContainer)obj;
         return((CompareHelper.CompareLists(x.ConnectivityNodes, this.connectivityNodes, true)));
     }
     else
     {
         return(false);
     }
 }
Example #5
0
 public ConnectivityNodeContainer(ConnectivityNodeContainer container) : base(container)
 {
     ConnectivityNodes = new List <long>(container.ConnectivityNodes);
 }