Show / Hide Table of Contents

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.

Inheritance
System.Object
NotificationObject
Node
CheckoutNode
Inherited Members
Node.ItemType
Node.Identifier
Node.Header
Node.ToolTip
Node.Path
Node.Children
Node.AreChildrenEditable
Node.AreChildrenRemote
Node.AutoExpandChildren
Node.Parent
Node.IsExpanded
Node.IsSelected
Node.IsRare
Node.ExternalLink
Node.IsLocalUpdateAvailable
Node.IsRemoteUpdateAvailable
Node.IsUpdateAvailable
Node.IsLocallyModified
Node.IsDeprecated
Node.IsReadOnly
Node.IsChildOfLockedItem
Node.GetClient()
Node.IsItemUnderType<T>()
Node.GetParentOfType<T>()
Node.GetParentNodeWithVersionable()
Node.IsUnderEditableParent
Node.IsStatic
Node.GetFlattenedChildren(Collection<Node>)
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(String)
NotificationObject.RaisePropertyChanged(String[])
Algenta.Colectica.Model.NotificationObject.RaisePropertyChanged<T>(Expression<>)
NotificationObject.OnPropertyChanged(String)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, String)
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
IHaveClient.Client

CompositeId

Gets or sets the identifier of the checkout.

Declaration
public IdentifierTriple CompositeId { get; set; }
Property Value
Type Description
IdentifierTriple
Implements
IStatefulItem.CompositeId

Metadata

Gets a description of the item represented by this node.

Declaration
public RepositoryItemMetadata Metadata { get; set; }
Property Value
Type Description
RepositoryItemMetadata
Implements
IVersionableProvider.Metadata

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
Node.CopyPropertiesIfNodeIsMatch(Node)

GetVersionable()

Gets the versionable item.

Declaration
public IVersionable GetVersionable()
Returns
Type Description
IVersionable

The versionable item

Implements
IVersionableProvider.GetVersionable()

Extension Methods

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