in messages/csharp/src/Deltix.Timebase.Messages/EPAM.Deltix.Timebase.Messages.Schema/SchemaFieldChangeAction.cs [495:551]
public virtual bool Equals(SchemaFieldChangeAction obj)
{
if ((obj == null))
{
return false;
}
if (((this.PreviousState != null)
&& (obj.PreviousState != null)))
{
if ((this.PreviousState.Equals(obj.PreviousState) != true))
{
return false;
}
}
else
{
if ((this.PreviousState != obj.PreviousState))
{
return false;
}
}
if (((this.NewState != null)
&& (obj.NewState != null)))
{
if ((this.NewState.Equals(obj.NewState) != true))
{
return false;
}
}
else
{
if ((this.NewState != obj.NewState))
{
return false;
}
}
if ((this.ChangeTypes != obj.ChangeTypes))
{
return false;
}
if (((this.DataTransformation != null)
&& (obj.DataTransformation != null)))
{
if ((this.DataTransformation.Equals(obj.DataTransformation) != true))
{
return false;
}
}
else
{
if ((this.DataTransformation != obj.DataTransformation))
{
return false;
}
}
return true;
}