Namespace Stylelabs.M.Sdk.Models.Tracking

Current version: 4.0

Classes

DirtyValueCalculator

This class will check if values are dirty or not. Note however that this tracker only supports types that are supported in M:

  • Primitives
  • JTokens
  • Collections of primitives

The goals is to have intelligent dirty tracking.

  • If the value was set to A, then set to B and finally A again, then it should be marked not dirty.
  • If the value was set to A, and B is a copy of A (reference is not the same), then it should be marked not dirty.

For optimal performance, try to prevent unnecessary IsDirty checks.

Do you have some feedback for us?

If you have suggestions for improving this article,