-
-
Notifications
You must be signed in to change notification settings - Fork 832
/
ResolveEventType.cs
30 lines (26 loc) · 1.33 KB
/
ResolveEventType.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using Autofac.Builder;
namespace Autofac.Core.Resolving.Middleware
{
/// <summary>
/// Defines the standard set of in-built resolve events, executed by the <see cref="CoreEventMiddleware"/>.
/// </summary>
public enum ResolveEventType
{
/// <summary>
/// Event type for the OnPreparing event registered by <see cref="IRegistrationBuilder{TLimit, TActivatorData, TRegistrationStyle}.OnPreparing(System.Action{PreparingEventArgs})"/>.
/// </summary>
OnPreparing,
/// <summary>
/// Event type for the OnActivating event registered by <see cref="IRegistrationBuilder{TLimit, TActivatorData, TRegistrationStyle}.OnActivating(System.Action{IActivatingEventArgs{TLimit}})"/>.
/// </summary>
OnActivating,
/// <summary>
/// Event type for the OnActivated event registered by <see cref="IRegistrationBuilder{TLimit, TActivatorData, TRegistrationStyle}.OnActivated(System.Action{IActivatedEventArgs{TLimit}})"/>.
/// </summary>
OnActivated,
/// <summary>
/// Event type for the OnRelease event registered by <see cref="RegistrationExtensions.OnRelease{TLimit, TActivatorData, TRegistrationStyle}(IRegistrationBuilder{TLimit, TActivatorData, TRegistrationStyle}, System.Action{TLimit})"/>
/// </summary>
OnRelease
}
}