From 8b6c1fb5e91b731f99ac298fef343f8620259cb4 Mon Sep 17 00:00:00 2001
From: zdyu <1877682825@qq.com>
Date: Sat, 8 Jan 2022 20:11:15 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9C=89=E6=9D=A1=E4=BB=B6=E7=9A=84DI=20Versio?=
=?UTF-8?q?n4.0.5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/Autofac.Annotation.csproj | 6 +++---
src/Condition/Conditional.cs | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/Autofac.Annotation.csproj b/src/Autofac.Annotation.csproj
index 8d7638c..036bd9d 100644
--- a/src/Autofac.Annotation.csproj
+++ b/src/Autofac.Annotation.csproj
@@ -27,10 +27,10 @@
Autofac.Annotation
true
true
- 4.0.4
- 4.0.4.0
+ 4.0.5
+ 4.0.5.0
zdyu
- 4.0.4
+ 4.0.5
MIT
diff --git a/src/Condition/Conditional.cs b/src/Condition/Conditional.cs
index d4a6eec..078383b 100644
--- a/src/Condition/Conditional.cs
+++ b/src/Condition/Conditional.cs
@@ -33,7 +33,7 @@ public Conditional(Type type)
///
/// 只能打在标有Bean的方法上面
///
- [AttributeUsage(AttributeTargets.Method | AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
+ [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public class ConditionOnMissingBean : Conditional
{
///
@@ -77,7 +77,7 @@ public ConditionOnMissingBean(Type type, string name) : this(type)
///
/// 只能打在标有Bean的方法上面
///
- [AttributeUsage(AttributeTargets.Method | AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
+ [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public class ConditionOnBean : Conditional
{
///