Example #1
0
 public virtual bool Compare(ClaimPropertyAssignment other)
 {
     if (other != null)
     {
         if (this.ClaimProperty.Compare(other.ClaimProperty))
         {
             if (this.Expression.Compare(other.Expression))
             {
                 return(true);
             }
             else
             {
                 return(false);
             }
         }
         else
         {
             return(false);
         }
     }
     else
     {
         return(false);
     }
 }
Example #2
0
		public virtual bool Compare(ClaimPropertyAssignment other)
		{
			if (other != null)
			{
				if (this.ClaimProperty.Compare(other.ClaimProperty))
				{
					if (this.Expression.Compare(other.Expression))
					{
						return true;
					}
					else
					{
						return false;
					}
				}
				else
				{
					return false;
				}
			}
			else
			{
				return false;
			}
		}