Class DirtyItemGatherer
Create a list of all a model's items that have been changed.
Inherited Members
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public class DirtyItemGatherer : VersionableVisitorBase, IVersionableVisitor
Constructors
DirtyItemGatherer()
Initializes a new instance of the DirtyItemGatherer class.
Declaration
public DirtyItemGatherer()
DirtyItemGatherer(Boolean)
Initializes a new instance of the DirtyItemGatherer class.
Declaration
public DirtyItemGatherer(bool gatherEvenIfNotDirty)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | gatherEvenIfNotDirty | if set to |
DirtyItemGatherer(Boolean, Boolean)
Initializes a new instance of the DirtyItemGatherer class.
Declaration
public DirtyItemGatherer(bool gatherEvenIfNotDirty, bool markParentsDirty)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | gatherEvenIfNotDirty | if set to |
System.Boolean | markParentsDirty | if set to |
Properties
DirtyItems
The list of items in the model that have been changed.
Declaration
public Collection<IVersionable> DirtyItems { get; }
Property Value
Type | Description |
---|---|
Collection<IVersionable> |
Methods
BeginVisitItem(IVersionable)
Begins the visit item.
Declaration
public override void BeginVisitItem(IVersionable item)
Parameters
Type | Name | Description |
---|---|---|
IVersionable | item | The item. |