Interface IVersionableInitializerCommand
Provides an extension point that allows Addins to provide code that is executed when a new instance of an IVersionable item is created.
Inherited Members
Namespace: Algenta.Colectica.ViewModel.Commands
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public interface IVersionableInitializerCommand : IGenericCommand
Methods
CanEverExecute(Guid)
Determines whether this Addin will execute when a new item of the specified type is created.
Declaration
bool CanEverExecute(Guid itemType)
Parameters
Type | Name | Description |
---|---|---|
Guid | itemType | Type of the item. |
Returns
Type | Description |
---|---|
System.Boolean |
Execute(IVersionable)
Called after a new item is created, allowing the Addin to initialize the item.
Declaration
void Execute(IVersionable item)
Parameters
Type | Name | Description |
---|---|---|
IVersionable | item | The item that was created. |