Class ActivityService
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.