Class CheckoutNode
Represents a node in the navigation hierarchy for a checkout. A checkout is an IVersionable item that usually other items as children. When changes to any of these children are saved, any items within the checkout that reference the changed item will be updated to reference the new version of the changed item. This updating propagates within all items in the checkout.
Inherited Members
Namespace: Algenta.Colectica.Navigator.NodeTypes
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public class CheckoutNode : Node, IVersionableProvider, IStatefulItem, IHaveClient
Constructors
CheckoutNode(LocalCheckout, RepositoryItemMetadata, Node)
Initializes a new instance of the CheckoutNode class.
Declaration
public CheckoutNode(LocalCheckout checkout, RepositoryItemMetadata metadata, Node parent)
Parameters
Type | Name | Description |
---|---|---|
Algenta.Colectica.Repository.Sync.LocalCheckout | checkout | The checkout represented by the node. |
RepositoryItemMetadata | metadata | A description of the item represented by this node. |
Node | parent | The parent node of this node. |
Properties
Checkout
Gets or sets the checkout represented by the node.
Declaration
public LocalCheckout Checkout { get; set; }
Property Value
Type | Description |
---|---|
Algenta.Colectica.Repository.Sync.LocalCheckout |
Client
Gets the local repository client used to interact with checkouts.
Declaration
public RepositoryClientBase Client { get; }
Property Value
Type | Description |
---|---|
RepositoryClientBase |
Implements
CompositeId
Gets or sets the identifier of the checkout.
Declaration
public IdentifierTriple CompositeId { get; set; }
Property Value
Type | Description |
---|---|
IdentifierTriple |
Implements
Metadata
Gets a description of the item represented by this node.
Declaration
public RepositoryItemMetadata Metadata { get; set; }
Property Value
Type | Description |
---|---|
RepositoryItemMetadata |
Implements
Methods
CopyPropertiesIfNodeIsMatch(Node)
Copies the state information from the specified node to this node.
Declaration
public override void CopyPropertiesIfNodeIsMatch(Node node)
Parameters
Type | Name | Description |
---|---|---|
Node | node | The node from which properties should be copied. |
Overrides
GetVersionable()
Gets the versionable item.
Declaration
public IVersionable GetVersionable()
Returns
Type | Description |
---|---|
IVersionable | The versionable item |