public override bool Equals(object obj) { var result = false; var other = obj as Fact; if (other != null && Equals(other)) { result |= Facts.Equals(other.Facts); } return(result); }
public override bool Equals(object obj) { var result = false; var other = obj as Fact; if (other != null && Equals(other)) { result |= Facts.Equals(other.Facts); } if (!result) { Console.WriteLine("Schema references different"); } return(result); }
public bool Equals(Instance other) { var result = false; if (other != null) { if (SchemaReference.Equals(other.SchemaReference)) { if (Units.Equals(other.Units)) { if (FilingIndicators.Equals(other.FilingIndicators)) { if (Contexts.Equals(other.Contexts)) { result |= Facts.Equals(other.Facts); } } } } } return(result); }