コード例 #1
0
 public override bool Equals(object o)
 {
     if (this == o)
     {
         return(true);
     }
     if (!(o is Net.Vpc.Upa.Impl.Eval.DefaultQLEvaluatorRegistry))
     {
         return(false);
     }
     Net.Vpc.Upa.Impl.Eval.DefaultQLEvaluatorRegistry that = (Net.Vpc.Upa.Impl.Eval.DefaultQLEvaluatorRegistry)o;
     if (typeEvaluators != null ? !typeEvaluators.Equals(that.typeEvaluators) : that.typeEvaluators != null)
     {
         return(false);
     }
     if (functionsEvaluators != null ? !functionsEvaluators.Equals(that.functionsEvaluators) : that.functionsEvaluators != null)
     {
         return(false);
     }
     if (nullEvaluator != null ? !nullEvaluator.Equals(that.nullEvaluator) : that.nullEvaluator != null)
     {
         return(false);
     }
     if (notFoundEvaluator != null ? !notFoundEvaluator.Equals(that.notFoundEvaluator) : that.notFoundEvaluator != null)
     {
         return(false);
     }
     return(!(functionDispatchEvaluator != null ? !functionDispatchEvaluator.Equals(that.functionDispatchEvaluator) : that.functionDispatchEvaluator != null));
 }
コード例 #2
0
 public override bool Equals(object o)
 {
     if (this == o)
     {
         return(true);
     }
     if (o == null || GetType() != o.GetType())
     {
         return(false);
     }
     Net.Vpc.Upa.Impl.Persistence.Connection.DefaultConnectionProfile that = (Net.Vpc.Upa.Impl.Persistence.Connection.DefaultConnectionProfile)o;
     if (connectionDriver != null ? !connectionDriver.Equals(that.connectionDriver) : that.connectionDriver != null)
     {
         return(false);
     }
     if (connectionDriverVersion != null ? !connectionDriverVersion.Equals(that.connectionDriverVersion) : that.connectionDriverVersion != null)
     {
         return(false);
     }
     if (databaseProduct != that.databaseProduct)
     {
         return(false);
     }
     if (databaseProductVersion != null ? !databaseProductVersion.Equals(that.databaseProductVersion) : that.databaseProductVersion != null)
     {
         return(false);
     }
     if (properties != null ? !properties.Equals(that.properties) : that.properties != null)
     {
         return(false);
     }
     if (structureStrategy != that.structureStrategy)
     {
         return(false);
     }
     return(true);
 }