Class AuditObjectChangeReader
- Namespace
- Dynamicweb.Auditing
- Assembly
- Dynamicweb.dll
The AuditObjectChangeReader class. It allow track properties changes
public class AuditObjectChangeReader
- Inheritance
-
AuditObjectChangeReader
- Inherited Members
Methods
Clear()
Clear changes
public void Clear()
GetChanges()
Gets tracked changes
public IEnumerable<AuditDetail> GetChanges()
Returns
GetChanges(bool)
Gets tracked changes
public IEnumerable<AuditDetail> GetChanges(bool getAndClean)
Parameters
getAndClean
bool- Clean changes if true
Returns
HasChanges()
Gets a value indicating if the object has changes
public bool HasChanges()
Returns
TrackChange<T>(string, T, T)
Track value changes by name
public T TrackChange<T>(string name, T oldValue, T newValue) where T : IComparable<T>
Parameters
name
stringoldValue
TnewValue
T
Returns
- T
Type Parameters
T
TrackChange<T>(string, T, T, string)
Track value changes by name
public T TrackChange<T>(string name, T value1, T value2, string action) where T : IComparable<T>
Parameters
Returns
- T
Type Parameters
T
TrackChange<T>(string, T?, T?)
public T? TrackChange<T>(string name, T? oldValue, T? newValue) where T : struct, IComparable<T>
Parameters
name
stringoldValue
T?newValue
T?
Returns
- T?
Type Parameters
T
TrackChange<T>(string, T?, T?, string)
public T? TrackChange<T>(string name, T? value1, T? value2, string action) where T : struct, IComparable<T>
Parameters
Returns
- T?
Type Parameters
T