Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Base class for calculated domain property handlers.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public MustInherit Class CalculatedPropertyValueHandler(Of TElement As ModelElement, TValue) _
Inherits DomainPropertyValueHandler(Of TElement, TValue)
'Usage
Dim instance As CalculatedPropertyValueHandler(Of TElement, TValue)
public abstract class CalculatedPropertyValueHandler<TElement, TValue> : DomainPropertyValueHandler<TElement, TValue>
where TElement : ModelElement
generic<typename TElement, typename TValue>
where TElement : ModelElement
public ref class CalculatedPropertyValueHandler abstract : public DomainPropertyValueHandler<TElement, TValue>
JScript does not support generic types or methods.
Type Parameters
- TElement
- TValue
Remarks
Each domain property that has a property value that is calculated has a CalculatedPropertyValueHandler<TElement, TValue>.CalculatedPropertyValueHandler<TElement, TValue> sets the value of the property and fires notifications when the property value changes.
These notifications are received by rules, events, and the OnValueChanging method.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.DomainPropertyValueHandler
Microsoft.VisualStudio.Modeling.DomainPropertyValueHandler<TElement, TValue>
Microsoft.VisualStudio.Modeling.CalculatedPropertyValueHandler<TElement, TValue>
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.