Class PropertyVerificationDescriptor
Inheritance
System.Object
PropertyVerificationDescriptor
Inherited Members
AutomationDescriptor.InvokeMethod(CodeExpression, Boolean, String, CodeGenerationLanguage, Object[])
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
public abstract class PropertyVerificationDescriptor : XamlVerificationDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings, IExtendedParamEditorInfo
Constructors
PropertyVerificationDescriptor()
Declaration
public PropertyVerificationDescriptor()
PropertyVerificationDescriptor(IFrameworkElement, AutomationProperty, VerificationComparer, String, Object)
Declaration
public PropertyVerificationDescriptor(IFrameworkElement target, AutomationProperty property, VerificationComparer comparer, string comparison, object value)
Parameters
IFrameworkElement
target
|
AutomationProperty
property
|
VerificationComparer
comparer
|
System.String
comparison
|
System.Object
value
|
PropertyVerificationDescriptor(IFrameworkElement, AutomationProperty, VerificationComparer, String, Object, String)
Declaration
public PropertyVerificationDescriptor(IFrameworkElement target, AutomationProperty property, VerificationComparer comparer, string comparison, object value, string targetKey)
Parameters
IFrameworkElement
target
|
AutomationProperty
property
|
VerificationComparer
comparer
|
System.String
comparison
|
System.Object
value
|
System.String
targetKey
|
Properties
Comparer
Declaration
protected virtual VerificationComparer Comparer { get; set; }
Property Value
VerificationComparer
|
CompareType
Declaration
[SentenceParam("compare?", AutomationDescriptorType.Extraction)]
public virtual XamlStringCompareType CompareType { get; set; }
Property Value
XamlStringCompareType
|
Comparison
Declaration
public virtual string Comparison { get; set; }
Property Value
System.String
|
ComparisonRaw
Declaration
protected string ComparisonRaw { get; set; }
Property Value
System.String
|
ErrorMessage
Declaration
public virtual string ErrorMessage { get; }
Property Value
System.String
|
Property
Declaration
protected virtual AutomationProperty Property { get; set; }
Property Value
AutomationProperty
|
Value
Declaration
public object Value { get; set; }
Property Value
System.Object
|
Methods
DemangleValue(Object)
Declaration
protected virtual object DemangleValue(object val)
Parameters
System.Object
val
|
Returns
System.Object
|
ExtractData(IApplication, DescriptorValueStore)
Declaration
public override void ExtractData(IApplication hostApp, DescriptorValueStore dataStore)
Parameters
IApplication
hostApp
|
DescriptorValueStore
dataStore
|
Overrides
GenerateValueCode(Object)
Declaration
protected CodeExpression GenerateValueCode(object value)
Parameters
System.Object
value
|
Returns
System.CodeDom.CodeExpression
|
GetCompareType(String)
Declaration
protected virtual XamlStringCompareType GetCompareType(string strValue)
Parameters
System.String
strValue
|
Returns
XamlStringCompareType
|
GetExtendedEditorInfo(DescriptorValueStore)
Declaration
public virtual void GetExtendedEditorInfo(DescriptorValueStore valueStore)
Parameters
DescriptorValueStore
valueStore
|
Implements
GetMangledValue()
Declaration
protected object GetMangledValue()
Returns
System.Object
|
GetProperty(FrameworkElement, String, Type, String)
Declaration
protected virtual object GetProperty(FrameworkElement element, string propertyName, Type propertyType, string attachedPropertyOwner)
Parameters
FrameworkElement
element
|
System.String
propertyName
|
System.Type
propertyType
|
System.String
attachedPropertyOwner
|
Returns
System.Object
|
MangleLiveValueCode(CodeExpression)
Declaration
protected virtual CodeExpression MangleLiveValueCode(CodeExpression liveValue)
Parameters
System.CodeDom.CodeExpression
liveValue
|
Returns
System.CodeDom.CodeExpression
|
MangleValue(Object)
Declaration
protected virtual object MangleValue(object val)
Parameters
System.Object
val
|
Returns
System.Object
|
OnParameterChanged(SentenceParam, Sentence)
Declaration
public virtual void OnParameterChanged(SentenceParam param, Sentence context)
Parameters
SentenceParam
param
|
Sentence
context
|
Implements
OnSentenceLoad(Sentence)
Declaration
public virtual void OnSentenceLoad(Sentence context)
Parameters
Sentence
context
|
Implements
PopulateComparisonList(SentenceParam)
Declaration
public virtual object PopulateComparisonList(SentenceParam sentenceParam)
Parameters
SentenceParam
sentenceParam
|
Returns
System.Object
|
SetMangledValue(Object)
Declaration
protected void SetMangledValue(object val)
Parameters
System.Object
val
|
ToCode()
ToCodeExpression()
Declaration
public CodeExpression ToCodeExpression()
Returns
System.CodeDom.CodeExpression
|
ValueCompare(DescriptorValueStore, Object)
Declaration
public virtual bool ValueCompare(DescriptorValueStore dataStore, object value)
Parameters
DescriptorValueStore
dataStore
|
System.Object
value
|
Returns
System.Boolean
|
Verify(DescriptorValueStore)
Declaration
public override VerificationResult Verify(DescriptorValueStore dataStore)
Parameters
DescriptorValueStore
dataStore
|
Returns
VerificationResult
|