-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathIDependencyModule.cs
More file actions
39 lines (36 loc) · 1.54 KB
/
IDependencyModule.cs
File metadata and controls
39 lines (36 loc) · 1.54 KB
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
31
32
33
34
35
36
37
38
39
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// =================================================================================================================================
using System;
namespace RapidField.SolidInstruments.InversionOfControl
{
/// <summary>
/// Encapsulates container configuration for a group of related dependencies.
/// </summary>
/// <typeparam name="TConfigurator">
/// The type of the object that configures containers.
/// </typeparam>
public interface IDependencyModule<TConfigurator> : IDependencyModule
where TConfigurator : class, new()
{
/// <summary>
/// Configures the module.
/// </summary>
/// <param name="configurator">
/// An object that configures containers.
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="configurator" /> is <see langword="null" />.
/// </exception>
/// <exception cref="ContainerConfigurationException">
/// An exception was raised while attempting to configure the container.
/// </exception>
public void Configure(TConfigurator configurator);
}
/// <summary>
/// Encapsulates container configuration for a group of related dependencies.
/// </summary>
public interface IDependencyModule
{
}
}