Show / Hide Table of Contents

Class ReflectiveSynchronization

Denotes a synchronization that assigns the synchronization rules from the nested classes through reflection

Inheritance
object
Transformation
Synchronization
ReflectiveSynchronization
HomogeneousSynchronization<T>
Inherited Members
Synchronization.GetSynchronizationRuleForType(Type)
Synchronization.GetSynchronizationRulesForType(Type)
Synchronization.GetSynchronizationRuleForSignature(Type, Type)
Synchronization.GetSynchronizationRulesForSignature(Type, Type)
Synchronization.Synchronize<TLeft, TRight>(ref TLeft, ref TRight, SynchronizationDirection, ChangePropagationMode)
Synchronization.Synchronize<TLeft, TRight>(SynchronizationRule<TLeft, TRight>, ref TLeft, ref TRight, SynchronizationDirection, ChangePropagationMode)
Synchronization.Synchronize<TLeft, TRight>(ref TLeft, ref TRight, ISynchronizationContext)
Synchronization.Synchronize<TLeft, TRight>(SynchronizationRule<TLeft, TRight>, ref TLeft, ref TRight, ISynchronizationContext)
Synchronization.SynchronizeMany<TLeft, TRight>(ICollection<TLeft>, ICollection<TRight>, SynchronizationDirection, ChangePropagationMode)
Synchronization.SynchronizeMany<TLeft, TRight>(SynchronizationRule<TLeft, TRight>, ICollection<TLeft>, ICollection<TRight>, SynchronizationDirection, ChangePropagationMode)
Synchronization.SynchronizeMany<TLeft, TRight>(ICollection<TLeft>, ICollection<TRight>, ISynchronizationContext)
Synchronization.SynchronizeMany<TLeft, TRight>(SynchronizationRule<TLeft, TRight>, ICollection<TLeft>, ICollection<TRight>, ISynchronizationContext)
Transformation.Patterns
Transformation.IsInitialized
Transformation.IsRulesRegistered
Transformation.CreateRulesInternal()
Transformation.CreateContext()
Transformation.Initialize()
Transformation.MaxOutputDelay
Transformation.MaxTransformationDelay
Transformation.ComputeInstantiatingTransformationRulePath(Computation)
Transformation.GetRulesForTypeSignature(Type[], Type)
Transformation.GetRulesExact(Type[], Type)
Transformation.GetRuleForTypeSignature(Type[], Type)
Transformation.GetRulesForInputTypes(params Type[])
Transformation.Rules
Transformation.GetRulesForTypeSignature(Type[], Type, bool)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Synchronizations
Assembly: NMF.Synchronizations.dll
Syntax
public class ReflectiveSynchronization : Synchronization

Properties

| Edit this page View Source

SynchronizationRules

Gets the synchronization rules contained in this synchronization

Declaration
public override IEnumerable<SynchronizationRuleBase> SynchronizationRules { get; }
Property Value
Type Description
IEnumerable<SynchronizationRuleBase>
Overrides
Synchronization.SynchronizationRules

Methods

| Edit this page View Source

CreateCustomSynchronizationRules()

Creates the custom synchronization rules that are no public nested classes (cannot be overridden by reflected rules)

Declaration
protected virtual IEnumerable<SynchronizationRuleBase> CreateCustomSynchronizationRules()
Returns
Type Description
IEnumerable<SynchronizationRuleBase>

A collection of transformation rules

Remarks

This method is called during Initialization. The output IEnumerable-collection is saved into a list.

| Edit this page View Source

CreateCustomTransformationRules()

Creates the custom transformation rules that are no public nested classes (cannot be overridden by reflected rules)

Declaration
protected virtual IEnumerable<GeneralTransformationRule> CreateCustomTransformationRules()
Returns
Type Description
IEnumerable<GeneralTransformationRule>

A collection of transformation rules

Remarks

This method is called during Initialization. The output IEnumerable-collection is saved into a list.

| Edit this page View Source

CreateDefaultSynchronizationRules()

Creates the default synchronization rules that are no public nested classes (can be overridden by reflected rules)

Declaration
protected virtual IEnumerable<SynchronizationRuleBase> CreateDefaultSynchronizationRules()
Returns
Type Description
IEnumerable<SynchronizationRuleBase>

A collection of transformation rules

Remarks

This method is called during Initialization. The output IEnumerable-collection is saved into a list.

| Edit this page View Source

CreateDefaultTransformationRules()

Creates the default transformation rules that are no public nested classes (can be overridden by reflected rules)

Declaration
protected virtual IEnumerable<GeneralTransformationRule> CreateDefaultTransformationRules()
Returns
Type Description
IEnumerable<GeneralTransformationRule>

A collection of transformation rules

Remarks

This method is called during Initialization. The output IEnumerable-collection is saved into a list.

| Edit this page View Source

CreateRules()

Creates all transformation rules of this transformation

Declaration
protected override sealed IEnumerable<GeneralTransformationRule> CreateRules()
Returns
Type Description
IEnumerable<GeneralTransformationRule>

A collection of transformation rules

Overrides
Transformation.CreateRules()
Remarks

This method is called during Initialization. The output IEnumerable-collection is saved into a list.

| Edit this page View Source

GetRuleForRuleType(Type)

Gets the rule with the specified type (exact match)

Declaration
public override GeneralTransformationRule GetRuleForRuleType(Type transformationRule)
Parameters
Type Name Description
Type transformationRule

The type of the transformation rule

Returns
Type Description
GeneralTransformationRule

The transformation rule with this type or null, if there is none

Overrides
Transformation.GetRuleForRuleType(Type)
Remarks

This method assumes there is only one transformation rule per type

| Edit this page View Source

GetRulesForRuleType(Type)

Gets all rules with the specified type (exact match)

Declaration
public override IEnumerable<GeneralTransformationRule> GetRulesForRuleType(Type transformationRule)
Parameters
Type Name Description
Type transformationRule

The type of the transformation rules

Returns
Type Description
IEnumerable<GeneralTransformationRule>

A collection of all rules with this type

Overrides
Transformation.GetRulesForRuleType(Type)
Remarks

This method assumes there is only one transformation rule per type

| Edit this page View Source

RegisterRules()

Registers the rules of this transformation

Declaration
public override void RegisterRules()
Overrides
Synchronization.RegisterRules()
| Edit this page View Source

Rule<TRule>()

Gets the transformation rule instance of the given rule type within the given transformation

Declaration
public TRule Rule<TRule>() where TRule : GeneralTransformationRule
Returns
Type Description
TRule

The transformation rule

Type Parameters
Name Description
TRule

The type of the desired transformation rule

| Edit this page View Source

SynchronizationRule<TRule>()

Gets the synchronization rule instance of the given rule type within the given transformation

Declaration
public TRule SynchronizationRule<TRule>() where TRule : SynchronizationRuleBase
Returns
Type Description
TRule

The transformation rule

Type Parameters
Name Description
TRule

The type of the desired transformation rule

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX