Class SynchronizationRuleBase
- Namespace
- NMF.Synchronizations
- Assembly
- NMF.Synchronizations.dll
Denotes an abstract synchronization rule
public abstract class SynchronizationRuleBase
- Inheritance
-
SynchronizationRuleBase
- Derived
- Inherited Members
Constructors
SynchronizationRuleBase()
Creates a new instance
protected SynchronizationRuleBase()
Properties
LeftType
Gets the LHS type of the synchronization rule
public abstract Type LeftType { get; }
Property Value
RightType
Gets the RHS type of the synchronization rule
public abstract Type RightType { get; }
Property Value
Synchronization
Gets the context synchronization
public Synchronization Synchronization { get; }
Property Value
Methods
DeclareSynchronization()
Declares the jobs and synchronization blocks that make up the synchronization rule
public abstract void DeclareSynchronization()
Rule<TRule>()
Gets the transformation rule type of the given type
public TRule Rule<TRule>() where TRule : GeneralTransformationRule
Returns
- TRule
The transformation rule instance of the given type or null, if no such rule exists
Type Parameters
TRule
The type of the transformation rule
SyncRule<TRule>()
Gets the synchroniation rule of the given type
public TRule SyncRule<TRule>() where TRule : SynchronizationRuleBase
Returns
- TRule
The synchronization rule instance of the given type or null, if no such rule exists
Type Parameters
TRule
The type of the synchronization rule