Show / Hide Table of Contents

Class NavigatorExtensions

A static class containing extension methods useful for working with navigator nodes.

Inheritance
object
NavigatorExtensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.ViewModel.Navigator
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public static class NavigatorExtensions

Methods

ToNodes(SearchResponse, RepositoryClientBase)

Converts a SearchResponse to a list of Nodes.

Declaration
public static Collection<Node> ToNodes(this SearchResponse response, RepositoryClientBase client)
Parameters
Type Name Description
SearchResponse response

The search response from which nodes will be created.

RepositoryClientBase client

The client that will be associated with the newly created nodes.

Returns
Type Description
Collection<Node>

A list of nodes.

ToNodes(Collection<RepositoryItemMetadata>, Node, RepositoryClientBase, bool)

Converts a list of item descriptions to a list of Nodes.

Declaration
public static Collection<Node> ToNodes(this Collection<RepositoryItemMetadata> items, Node parentItem, RepositoryClientBase client, bool addPlaceholders)
Parameters
Type Name Description
Collection<RepositoryItemMetadata> items

The item descriptions from which nodes will be created.

Node parentItem

The parent item that will be associated with the newly created nodes.

RepositoryClientBase client

The client that will be associated with the newly created nodes.

bool addPlaceholders

if set to true a placeholder node will be added as a child of each node.

Returns
Type Description
Collection<Node>

A list of nodes.

In this article
Back to top Generated by DocFX