Show / Hide Table of Contents

Interface IPostCommitHook

Provides a method that is run after a successful commit of a transaction into the repository.

Namespace: Algenta.Colectica.Model.Repository
Assembly: Algenta.Colectica.Model.dll
Syntax
public interface IPostCommitHook

Methods

PostCommit(RepositoryItem)

Executes the hook for the specified item, after the item is registered into the repository.

Declaration
void PostCommit(RepositoryItem item)
Parameters
Type Name Description
RepositoryItem item

The item that was registered.

SupportsItem(Guid)

Determines whether this hook should be executed for items of the specified type.

Declaration
bool SupportsItem(Guid itemType)
Parameters
Type Name Description
Guid itemType

The type of the item.

Returns
Type Description
bool

true if this hook should execute for items of this type; otherwise false.

Extension Methods

Extensions.Yield<T>(T)
In this article
Back to top Generated by DocFX