예제 #1
0
        public bool Equals(Application input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     ApplicationId == input.ApplicationId ||
                     (ApplicationId.Equals(input.ApplicationId))
                     ) &&
                 (
                     Name == input.Name ||
                     (Name != null && Name.Equals(input.Name))
                 ) &&
                 (
                     RedirectUrl == input.RedirectUrl ||
                     (RedirectUrl != null && RedirectUrl.Equals(input.RedirectUrl))
                 ) &&
                 (
                     Link == input.Link ||
                     (Link != null && Link.Equals(input.Link))
                 ) &&
                 (
                     Scope == input.Scope ||
                     (Scope.Equals(input.Scope))
                 ) &&
                 (
                     Origin == input.Origin ||
                     (Origin != null && Origin.Equals(input.Origin))
                 ) &&
                 (
                     Status == input.Status ||
                     (Status != null && Status.Equals(input.Status))
                 ) &&
                 (
                     CreationDate == input.CreationDate ||
                     (CreationDate != null && CreationDate.Equals(input.CreationDate))
                 ) &&
                 (
                     StatusChanged == input.StatusChanged ||
                     (StatusChanged != null && StatusChanged.Equals(input.StatusChanged))
                 ) &&
                 (
                     FirstPublished == input.FirstPublished ||
                     (FirstPublished != null && FirstPublished.Equals(input.FirstPublished))
                 ) &&
                 (
                     Team == input.Team ||
                     (Team != null && Team.SequenceEqual(input.Team))
                 ) &&
                 (
                     OverrideAuthorizeViewName == input.OverrideAuthorizeViewName ||
                     (OverrideAuthorizeViewName != null && OverrideAuthorizeViewName.Equals(input.OverrideAuthorizeViewName))
                 ));
        }