예제 #1
0
 public virtual bool Compare(ClaimCondition 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);
     }
 }
예제 #2
0
		public virtual bool Compare(ClaimCondition 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;
			}
		}
예제 #3
0
		public override bool Compare(ClaimCondition other)
		{
			RegexNotMatchClaimCondition regexNotMatchClaimCondition = other as RegexNotMatchClaimCondition;
			if (regexNotMatchClaimCondition != null)
			{
				return base.Compare(other);
			}
			else
			{
				return false;
			}
		}
예제 #4
0
		public override bool Compare(ClaimCondition other)
		{
			EqualsClaimCondition equalsClaimCondition = other as EqualsClaimCondition;
			if (equalsClaimCondition != null)
			{
				return base.Compare(other);
			}
			else
			{
				return false;
			}
		}
예제 #5
0
        public override bool Compare(ClaimCondition other)
        {
            EqualsClaimCondition equalsClaimCondition = other as EqualsClaimCondition;

            if (equalsClaimCondition != null)
            {
                return(base.Compare(other));
            }
            else
            {
                return(false);
            }
        }
예제 #6
0
        public override bool Compare(ClaimCondition other)
        {
            RegexMatchClaimCondition regexMatchClaimCondition = other as RegexMatchClaimCondition;

            if (regexMatchClaimCondition != null)
            {
                return(base.Compare(other));
            }
            else
            {
                return(false);
            }
        }