Class ItemGathererVisitor
Visitor used to gather items.
Inherited Members
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public class ItemGathererVisitor : VersionableVisitorBase, IVersionableVisitor
Constructors
ItemGathererVisitor()
Initializes a new instance of the ItemGathererVisitor class.
Declaration
public ItemGathererVisitor()
Properties
FoundItems
Gets the found items.
Declaration
public Collection<IVersionable> FoundItems { get; }
Property Value
Type | Description |
---|---|
Collection<IVersionable> | The found items. |
FoundItemsWithContext
Gets the found items, including information about what other items were traversed to find each item.
Declaration
public Collection<GatheredItemWithContext> FoundItemsWithContext { get; }
Property Value
Type | Description |
---|---|
Collection<GatheredItemWithContext> |
HasIdentifier
Gets or sets the has identifier.
Declaration
public IdentifierTriple HasIdentifier { get; set; }
Property Value
Type | Description |
---|---|
IdentifierTriple | The has identifier. |
HasReferenceTo
Gets or sets the has reference automatic.
Declaration
public IdentifierTriple HasReferenceTo { get; set; }
Property Value
Type | Description |
---|---|
IdentifierTriple | The has reference automatic. |
RequirePopulation
Require the found items to be populated
Declaration
public bool RequirePopulation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SearchTerms
Gets the search terms that must occur in gathered items.
Declaration
public Collection<string> SearchTerms { get; }
Property Value
Type | Description |
---|---|
Collection<System.String> | The search terms. |
TypesToFind
Gets the types of items to be gathered.
Declaration
public Collection<Guid> TypesToFind { get; }
Property Value
Type | Description |
---|---|
Collection<Guid> |
Methods
BeginVisitItem(IVersionable)
Begins the visit item.
Declaration
public override void BeginVisitItem(IVersionable item)
Parameters
Type | Name | Description |
---|---|---|
IVersionable | item | The item. |