Class SetPopulator
A visitor that populates all the items in a set with information from a repository.
Inherited Members
Namespace: Algenta.Colectica.Model.Repository
Assembly: Algenta.Colectica.Model.dll
Syntax
public class SetPopulator : VersionableVisitorBase, IVersionableVisitor
Constructors
SetPopulator(RepositoryClientBase)
Initializes a new instance of the GraphPopulator class.
Declaration
public SetPopulator(RepositoryClientBase baseClient)
Parameters
Type | Name | Description |
---|---|---|
RepositoryClientBase | baseClient | The repository client used to populate items. |
Properties
MissingItems
Gets a collection of items that were not present in the repository.
Declaration
public Collection<IVersionable> MissingItems { get; }
Property Value
Type | Description |
---|---|
Collection<IVersionable> |
UseLatest
Determines whether the latest version of all items should be retrieved.
Declaration
public bool UseLatest { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
VisitedItems
Gets the items that have been visited.
Declaration
public Dictionary<IdentifierTriple, Collection<IVersionable>> VisitedItems { get; }
Property Value
Type | Description |
---|---|
Dictionary<IdentifierTriple, Collection<IVersionable>> |
Methods
BeginVisitItem(IVersionable)
Called first when visiting an item, before visiting the item's children. Attempts to populate the item from the repository.
Declaration
public override void BeginVisitItem(IVersionable item)
Parameters
Type | Name | Description |
---|---|---|
IVersionable | item | The item being visited. |