Class CheckoutsFolderNode
Represents a node that contains all checkouts of the local system as child nodes.
Inherited Members
Namespace: Algenta.Colectica.Navigator.NodeTypes
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public class CheckoutsFolderNode : Node, INotifyPropertyChanged, IHaveClient
Constructors
CheckoutsFolderNode(Node, string, RepositoryClientBase)
Initializes a new instance of the CheckoutsFolderNode class.
Declaration
public CheckoutsFolderNode(Node parent, string headerText, RepositoryClientBase localClient)
Parameters
Type | Name | Description |
---|---|---|
Node | parent | The parent node of this node. |
string | headerText | |
RepositoryClientBase | localClient | The local repository client. |
Properties
Client
Gets the local repository client.
Declaration
public RepositoryClientBase Client { get; }
Property Value
Type | Description |
---|---|
RepositoryClientBase |
Methods
GetCheckouts(Node, Collection<LocalCheckout>)
Gets a list containing a node for each checkout in the local database.
Declaration
public Collection<Node> GetCheckouts(Node parent, Collection<LocalCheckout> checkouts)
Parameters
Type | Name | Description |
---|---|---|
Node | parent | The parent node of the newly created nodes. |
Collection<LocalCheckout> | checkouts | The list of checkouts for which nodes will be created. |
Returns
Type | Description |
---|---|
Collection<Node> | A list containing a node for each checkout in the local database. |
ToIdentifierCollection(IEnumerable<LocalCheckout>)
Converts a list of checkouts to a list of identifiers.
Declaration
public static Collection<IdentifierTriple> ToIdentifierCollection(IEnumerable<LocalCheckout> checkouts)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<LocalCheckout> | checkouts | The list of checkouts. |
Returns
Type | Description |
---|---|
Collection<IdentifierTriple> | A list of identifiers. |