|
|
@ -58,24 +58,24 @@ public class ParagraphDto : ContentLessonDto, IEquatable<ParagraphDto>
|
|
|
|
return $"{Id}\t{Title}\t{Content}\t{Info}\t{Query}\t{Comment}";
|
|
|
|
return $"{Id}\t{Title}\t{Content}\t{Info}\t{Query}\t{Comment}";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public override bool Equals(object right)
|
|
|
|
public override bool Equals(object obj)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (object.ReferenceEquals(right, null))
|
|
|
|
if (object.ReferenceEquals(obj, null))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (object.ReferenceEquals(this, right))
|
|
|
|
if (object.ReferenceEquals(this, obj))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (this.GetType() != right.GetType())
|
|
|
|
if (this.GetType() != obj.GetType())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return this.Equals(right as ParagraphDto);
|
|
|
|
return this.Equals(obj as ParagraphDto);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public bool Equals(ParagraphDto other)
|
|
|
|
public bool Equals(ParagraphDto other)
|
|
|
|