Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

IUnitOfWork

API reference for IUnitOfWork in Vendr, the eCommerce solution for Umbraco v8+

IUnitOfWork

Defines a Unit of Work

public interface IUnitOfWork : IDisposable

Namespace

Methods

Complete

Marks the completion of a successful Unit of Work

public void Complete()

ScheduleNotification

Schedules a Notification Event to be raised once the Unit of Work is complete

public void ScheduleNotification(INotificationEvent notificationEvent)

Parameters

Parameter Description
notificationEvent
The Notification Event to raise

ScheduleNotifications (1 of 2)

Schedules a series of Notification Events to be raised once the Unit of Work is complete

public void ScheduleNotifications(params INotificationEvent[] notificationEvents)

Parameters

Parameter Description
notificationEvents
The list of Notification Events to raise

ScheduleNotifications (2 of 2)

Schedules a series of Notification Events to be raised once the Unit of Work is complete

public void ScheduleNotifications(IEnumerable<INotificationEvent> notificationEvents)

Parameters

Parameter Description
notificationEvents
The list of Notification Events to raise

Edit this page on GitHub

Site + logo design © 2025 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.