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

            return
                ((
                     IsFollowing == input.IsFollowing ||
                     (IsFollowing != null && IsFollowing.Equals(input.IsFollowing))
                     ) &&
                 (
                     IgnoreStatus == input.IgnoreStatus ||
                     (IgnoreStatus != null && IgnoreStatus.Equals(input.IgnoreStatus))
                 ) &&
                 (
                     GlobalIgnoreEndDate == input.GlobalIgnoreEndDate ||
                     (GlobalIgnoreEndDate != null && GlobalIgnoreEndDate.Equals(input.GlobalIgnoreEndDate))
                 ));
        }
예제 #2
0
 /// <summary>
 /// Filter activity to users who are being followed by the authenticated user.
 /// </summary>
 public GraphQueryArgument <bool> IsFollowingQueryArgument(bool value)
 {
     return(IsFollowing.GetQueryArgumentAndSetValue(value));
 }