Show / Hide Table of Contents

Class SimpleControlConstructGatherer

Gathers all control constructs under a root control construct. Implements a visitor in the visitor pattern.

Inheritance
System.Object
VersionableVisitorBase
SimpleControlConstructGatherer
Inherited Members
VersionableVisitorBase.depth
VersionableVisitorBase.HaveVisited(IdentifierTriple)
VersionableVisitorBase.RegisterVisit(IdentifierTriple)
VersionableVisitorBase.EndVisitItem(IVersionable)
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
System.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.

Overrides
VersionableVisitorBase.BeginVisitItem(IVersionable)

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica