Skip to content

Commit

Permalink
有条件的DI Version4.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzd committed Jan 8, 2022
1 parent 63040ad commit 8b6c1fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/Autofac.Annotation.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
<RootNamespace>Autofac.Annotation</RootNamespace>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<Version>4.0.4</Version>
<AssemblyVersion>4.0.4.0</AssemblyVersion>
<Version>4.0.5</Version>
<AssemblyVersion>4.0.5.0</AssemblyVersion>
<Authors>zdyu</Authors>
<PackageVersion>4.0.4</PackageVersion>
<PackageVersion>4.0.5</PackageVersion>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions src/Condition/Conditional.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public Conditional(Type type)
/// <summary>
/// 只能打在标有Bean的方法上面
/// </summary>
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public class ConditionOnMissingBean : Conditional
{
/// <summary>
Expand Down Expand Up @@ -77,7 +77,7 @@ public ConditionOnMissingBean(Type type, string name) : this(type)
/// <summary>
/// 只能打在标有Bean的方法上面
/// </summary>
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public class ConditionOnBean : Conditional
{
/// <summary>
Expand Down

0 comments on commit 8b6c1fb

Please sign in to comment.