예제 #1
0
        public override bool Equals(object other__)
        {
            if (object.ReferenceEquals(this, other__))
            {
                return(true);
            }
            if (other__ == null)
            {
                return(false);
            }
            if (GetType() != other__.GetType())
            {
                return(false);
            }
            LogInitInfo o__ = (LogInitInfo)other__;

            if (strServerID == null)
            {
                if (o__.strServerID != null)
                {
                    return(false);
                }
            }
            else
            {
                if (!strServerID.Equals(o__.strServerID))
                {
                    return(false);
                }
            }
            if (strIp == null)
            {
                if (o__.strIp != null)
                {
                    return(false);
                }
            }
            else
            {
                if (!strIp.Equals(o__.strIp))
                {
                    return(false);
                }
            }
            if (strPluginName == null)
            {
                if (o__.strPluginName != null)
                {
                    return(false);
                }
            }
            else
            {
                if (!strPluginName.Equals(o__.strPluginName))
                {
                    return(false);
                }
            }
            return(true);
        }
예제 #2
0
 public static LogInitInfo read__(IceInternal.BasicStream is__, LogInitInfo v__)
 {
     if (v__ == null)
     {
         v__ = new LogInitInfo();
     }
     v__.read__(is__);
     return(v__);
 }
예제 #3
0
 public static void write__(IceInternal.BasicStream os__, LogInitInfo v__)
 {
     if (v__ == null)
     {
         nullMarshalValue__.write__(os__);
     }
     else
     {
         v__.write__(os__);
     }
 }