Class IntegerComparer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
public class IntegerComparer : VerificationComparer
Fields
Equal
Declaration
public static readonly string Equal
Field Value
System.String
|
GreaterThan
Declaration
public static readonly string GreaterThan
Field Value
System.String
|
GreaterThanOrEqual
Declaration
public static readonly string GreaterThanOrEqual
Field Value
System.String
|
LessThan
Declaration
public static readonly string LessThan
Field Value
System.String
|
LessThanOrEqual
Declaration
public static readonly string LessThanOrEqual
Field Value
System.String
|
NotEqual
Declaration
public static readonly string NotEqual
Field Value
System.String
|
Properties
CompareOptions
Declaration
public override IList<string> CompareOptions { get; }
Property Value
System.Collections.Generic.IList<System.String>
|
Overrides
Instance
Methods
Compare(Object, NumberCompareType, Object)
Declaration
public bool Compare(object left, NumberCompareType compareType, object right)
Parameters
System.Object
left
|
NumberCompareType
compareType
|
System.Object
right
|
Returns
System.Boolean
|
Compare(Object, String, Object)
Declaration
public override bool Compare(object left, string comparison, object right)
Parameters
System.Object
left
|
System.String
comparison
|
System.Object
right
|
Returns
System.Boolean
|
Overrides
ToCode(XamlVerificationDescriptor, IntegerComparer.GenerateLiveValueExpressionDelegate, NumberCompareType, CodeExpression)
Declaration
public void ToCode(XamlVerificationDescriptor desc, IntegerComparer.GenerateLiveValueExpressionDelegate genLiveValueDelegate, NumberCompareType compareType, CodeExpression valueExpr)
Parameters
XamlVerificationDescriptor
desc
|
IntegerComparer.GenerateLiveValueExpressionDelegate
genLiveValueDelegate
|
NumberCompareType
compareType
|
System.CodeDom.CodeExpression
valueExpr
|
ToCode(XamlVerificationDescriptor, IntegerComparer.GenerateLiveValueExpressionDelegate, String, CodeExpression)
Declaration
public void ToCode(XamlVerificationDescriptor desc, IntegerComparer.GenerateLiveValueExpressionDelegate genLiveValueDelegate, string comparison, CodeExpression valueExpr)
Parameters
XamlVerificationDescriptor
desc
|
IntegerComparer.GenerateLiveValueExpressionDelegate
genLiveValueDelegate
|
System.String
comparison
|
System.CodeDom.CodeExpression
valueExpr
|
ToCode(XamlVerificationDescriptor, String, NumberCompareType, CodeExpression)
Declaration
public void ToCode(XamlVerificationDescriptor desc, string propertyName, NumberCompareType compareType, CodeExpression valueExpr)
Parameters
XamlVerificationDescriptor
desc
|
System.String
propertyName
|
NumberCompareType
compareType
|
System.CodeDom.CodeExpression
valueExpr
|
ToCode(XamlVerificationDescriptor, String, String, CodeExpression)
Declaration
public override void ToCode(XamlVerificationDescriptor desc, string propertyName, string comparison, CodeExpression valueExpr)
Parameters
XamlVerificationDescriptor
desc
|
System.String
propertyName
|
System.String
comparison
|
System.CodeDom.CodeExpression
valueExpr
|
Overrides
ToIntegerComparerValue(NumberCompareType)
Declaration
public static string ToIntegerComparerValue(NumberCompareType compareType)
Parameters
NumberCompareType
compareType
|
Returns
System.String
|
ToNumberCompareType(String)
Declaration
public static NumberCompareType ToNumberCompareType(string comparison)
Parameters
System.String
comparison
|
Returns
NumberCompareType
|