Class SimpleControlConstructGatherer
Gathers all control constructs under a root control construct. Implements a visitor in the visitor pattern.
Implements
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi.Serialization
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class SimpleControlConstructGatherer : VersionableVisitorBase, IVersionableVisitor
Constructors
SimpleControlConstructGatherer(string)
Initializes a new instance of the SimpleControlConstructGatherer class.
Declaration
public SimpleControlConstructGatherer(string agencyId)
Parameters
Type | Name | Description |
---|---|---|
string | agencyId | The agency identifier. |
Properties
Constructs
Gets a collection of control constructs that have been gathered.
Declaration
public ControlConstructScheme Constructs { get; }
Property Value
Type | Description |
---|---|
ControlConstructScheme |
Methods
BeginVisitItem(IVersionable)
Called first when visiting an item, before visiting the item's children. Gathers the visited construct into the Constructs collection.
Declaration
public override void BeginVisitItem(IVersionable item)
Parameters
Type | Name | Description |
---|---|---|
IVersionable | item | The item being visited. |