Table of Contents

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

IEnumerable<AuditDetail>

GetChanges(bool)

Gets tracked changes
public IEnumerable<AuditDetail> GetChanges(bool getAndClean)

Parameters

getAndClean bool
Clean changes if true

Returns

IEnumerable<AuditDetail>

HasChanges()

Gets a value indicating if the object has changes
public bool HasChanges()

Returns

bool

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 string
oldValue T
newValue 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

name string
value1 T
value2 T
action string

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 string
oldValue 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

name string
value1 T?
value2 T?
action string

Returns

T?

Type Parameters

T
To top