Skip to content

Commit 02cd8b4

Browse files
committed
Updated to Autofac/Autofac.Mef 5.0.0.
1 parent b97160c commit 02cd8b4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/Autofac.Extras.AttributeMetadata/AttributedMetadataModule.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
using System;
2727
using Autofac.Core;
28+
using Autofac.Core.Registration;
2829

2930
namespace Autofac.Extras.AttributeMetadata
3031
{
@@ -39,9 +40,9 @@ public class AttributedMetadataModule : Module
3940
/// </summary>
4041
/// <remarks>This method will be called for all existing <i>and future</i> component
4142
/// registrations - ordering is not important.</remarks>
42-
/// <param name="componentRegistry">The component registry.</param>
43+
/// <param name="componentRegistry">The component registry builder.</param>
4344
/// <param name="registration">The registration to attach functionality to.</param>
44-
protected override void AttachToComponentRegistration(IComponentRegistry componentRegistry, IComponentRegistration registration)
45+
protected override void AttachToComponentRegistration(IComponentRegistryBuilder componentRegistry, IComponentRegistration registration)
4546
{
4647
if (registration == null) throw new ArgumentNullException(nameof(registration));
4748

src/Autofac.Extras.AttributeMetadata/Autofac.Extras.AttributeMetadata.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
</ItemGroup>
4040

4141
<ItemGroup>
42-
<PackageReference Include="Autofac" Version="4.9.1" />
43-
<PackageReference Include="Autofac.Mef" Version="4.1.0" />
42+
<PackageReference Include="Autofac" Version="5.0.0" />
43+
<PackageReference Include="Autofac.Mef" Version="5.0.0" />
4444
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="2.9.8">
4545
<PrivateAssets>All</PrivateAssets>
4646
</PackageReference>

0 commit comments

Comments
 (0)