Ejemplo n.º 1
0
 /// <inheritdoc/>
 public bool Equals(EntryPoint other)
 {
     if (other == null)
     {
         return(false);
     }
     return(base.Equals(other) &&
            Command == other.Command && BinaryName == other.BinaryName && NeedsTerminal == other.NeedsTerminal &&
            Names.UnsequencedEquals(other.Names) && Summaries.UnsequencedEquals(other.Summaries) && Descriptions.UnsequencedEquals(other.Descriptions) && Icons.UnsequencedEquals(other.Icons));
 }
Ejemplo n.º 2
0
 /// <inheritdoc/>
 public bool Equals(Feed other)
 {
     if (other == null)
     {
         return(false);
     }
     if (!base.Equals(other))
     {
         return(false);
     }
     if (Uri != other.Uri)
     {
         return(false);
     }
     if (MinInjectorVersion != other.MinInjectorVersion)
     {
         return(false);
     }
     if (Name != other.Name)
     {
         return(false);
     }
     if (!Summaries.UnsequencedEquals(other.Summaries))
     {
         return(false);
     }
     if (!Descriptions.UnsequencedEquals(other.Descriptions))
     {
         return(false);
     }
     if (Homepage != other.Homepage)
     {
         return(false);
     }
     if (NeedsTerminal != other.NeedsTerminal)
     {
         return(false);
     }
     if (!Feeds.UnsequencedEquals(other.Feeds))
     {
         return(false);
     }
     if (!Categories.UnsequencedEquals(other.Categories))
     {
         return(false);
     }
     if (!Icons.UnsequencedEquals(other.Icons))
     {
         return(false);
     }
     if (!Elements.UnsequencedEquals(other.Elements))
     {
         return(false);
     }
     if (!EntryPoints.UnsequencedEquals(other.EntryPoints))
     {
         return(false);
     }
     if (!CapabilityLists.UnsequencedEquals(other.CapabilityLists))
     {
         return(false);
     }
     return(true);
 }