Show / Hide Table of Contents

Interface IVersionableCommandProvider

Provides an extension point that Addins can use to inject many commands into the Colectica user interface.

Namespace: Algenta.Colectica.ViewModel.Commands
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public interface IVersionableCommandProvider
Remarks

This extension point is useful for adding multiple, parameterized commands that can be executed on IVersionable items. For example, Colectica Designer uses this extension point to add a "Publish" command to each configured repository. When GetCommands is called, Colectica Designer returns one command for each repository that is configured, with the command's Parameter set to the repository.

Methods

GetCommands(Guid)

Gets a list of commands to be added to the Colectica user interface.

Declaration
Collection<IVersionableCommand> GetCommands(Guid itemType)
Parameters
Type Name Description
Guid itemType

Type of the item for which commands will be added.

Returns
Type Description
Collection<IVersionableCommand>

The list of commands to be added to the user interface.

Extension Methods

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