Table of Contents

Class ActivityService

Namespace
LinqToDB.Tools
Assembly
linq2db.dll

Provides API to register factory methods that return an Activity object or null for provided ActivityID event.

public static class ActivityService
Inheritance
ActivityService

Methods

AddFactory(Func<ActivityID, IActivity?>)

Adds a factory method that returns an Activity object or null for provided ActivityID event.

public static void AddFactory(Func<ActivityID, IActivity?> factory)

Parameters

factory Func<ActivityID, IActivity>

A factory method.