Class DirtyValueCalculator
Version:
日本語翻訳に関する免責事項
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
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.
Inheritance
System.Object
DirtyValueCalculator
Namespace: Stylelabs.M.Sdk.Models.Tracking
Assembly: Stylelabs.M.Sdk.dll
Syntax
Properties
CachedHashCode
Declaration
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Methods
IsDirty(Object)
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value |
Returns
| Type | Description |
|---|---|
| System.Boolean |
SetOriginalValue(Object)
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value |