-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAutofacDependencyModule.cs
More file actions
31 lines (29 loc) · 1.33 KB
/
AutofacDependencyModule.cs
File metadata and controls
31 lines (29 loc) · 1.33 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
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// =================================================================================================================================
using Autofac;
using Microsoft.Extensions.Configuration;
using System;
namespace RapidField.SolidInstruments.InversionOfControl.Autofac
{
/// <summary>
/// Encapsulates Autofac container configuration for a group of related dependencies.
/// </summary>
public abstract class AutofacDependencyModule : DependencyModule<ContainerBuilder>
{
/// <summary>
/// Initializes a new instance of the <see cref="AutofacDependencyModule" /> class.
/// </summary>
/// <param name="applicationConfiguration">
/// Configuration information for the application.
/// </param>
/// <exception cref="ArgumentNullException">
/// <paramref name="applicationConfiguration" /> is <see langword="null" />.
/// </exception>
protected AutofacDependencyModule(IConfiguration applicationConfiguration)
: base(applicationConfiguration)
{
return;
}
}
}