PeerCastStation.WPF.BroadcastInfoViewModel.Equals C# (CSharp) 메소드

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool
    public override bool Equals(object obj)
    {
      if (obj==null || GetType()!=obj.GetType()) return false;
      var x = (BroadcastInfoViewModel)obj;
      return StreamUrl   == x.StreamUrl   &&
             StreamType  == x.StreamType  &&
             Bitrate     == x.Bitrate     &&
             ContentType == x.ContentType &&
             YellowPage  == x.YellowPage  &&
             ChannelName == x.ChannelName &&
             Genre       == x.Genre       &&
             Description == x.Description &&
             Comment     == x.Comment     &&
             ContactUrl  == x.ContactUrl  &&
             TrackTitle  == x.TrackTitle  &&
             TrackAlbum  == x.TrackAlbum  &&
             TrackArtist == x.TrackArtist &&
             TrackGenre  == x.TrackGenre  &&
             TrackUrl    == x.TrackUrl;
    }