Class VersionableNode
Represents an IVersionable item in the navigation hierarchy.
Inherited Members
Algenta.Colectica.Model.NotificationObject.RaisePropertyChanged<T>(Expression<>)
Namespace: Algenta.Colectica.Navigator.NodeTypes
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public class VersionableNode : Node, IVersionableProvider
Constructors
VersionableNode(IVersionable, Node)
Initializes a new instance of the VersionableNode class.
Declaration
public VersionableNode(IVersionable item, Node parent)
Parameters
Type | Name | Description |
---|---|---|
IVersionable | item | The versionable item. |
Node | parent | The parent node of this node. |
Properties
Item
The versionable item represented by this node.
Declaration
public IVersionable Item { get; set; }
Property Value
Type | Description |
---|---|
IVersionable |
Metadata
Gets a description of the item represented by this node.
Declaration
public RepositoryItemMetadata Metadata { get; }
Property Value
Type | Description |
---|---|
RepositoryItemMetadata |
Implements
Methods
GetVersionable()
Gets the versionable item. Depending on the node type, the versionable item may be locally or stored, or it may need to be retrieved over the network.
Declaration
public IVersionable GetVersionable()
Returns
Type | Description |
---|---|
IVersionable |