Skip to content

Commit 1bc232e

Browse files
committed
merge: 合并代码
2 parents 5075540 + 2586feb commit 1bc232e

File tree

5 files changed

+15
-32
lines changed

5 files changed

+15
-32
lines changed

framework.props

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,6 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
</PropertyGroup>
66

7-
<PropertyGroup>
8-
<RootNamespace/>
9-
<LangVersion>latest</LangVersion>
10-
<NoWarn>$(NoWarn);CS1591</NoWarn>
11-
</PropertyGroup>
12-
13-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
14-
<OutputPath>$(MSBuildThisFileDirectory)/output/debug/</OutputPath>
15-
</PropertyGroup>
16-
17-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
18-
<OutputPath>$(MSBuildThisFileDirectory)/output/release/</OutputPath>
19-
</PropertyGroup>
20-
21-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
22-
<DocumentationFile>$(AssemblyName).xml</DocumentationFile>
23-
</PropertyGroup>
24-
25-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26-
<DocumentationFile>$(AssemblyName).xml</DocumentationFile>
27-
</PropertyGroup>
28-
29-
<Import Project="asset/props/package.props"/>
30-
31-
<Import Project="asset/props/misc.props"/>
32-
337
<Import Project="./common.props"/>
348

359

framework/tests/Bing.Tests/Domains/ValidTest.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using AspectCore.DynamicProxy.Parameters;
23
using AspectCore.Extensions.DependencyInjection;
34
using Bing.DependencyInjection;
45
using Bing.Exceptions;
@@ -26,7 +27,10 @@ public ValidTest()
2627
{
2728
var services = new ServiceCollection();
2829
services.AddScoped<IRepositorySample, RepositorySample>();
29-
services.EnableAop();
30+
services.EnableAop(x =>
31+
{
32+
x.EnableParameterAspect();
33+
});
3034
_serviceProvider = services.BuildServiceContextProvider();
3135
}
3236

tests/Bing.Tests.Samples/Bing.Tests.Samples.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,9 @@
2727
</EmbeddedResource>
2828
</ItemGroup>
2929

30+
<ItemGroup>
31+
<PackageReference Update="Microsoft.Extensions.Configuration.Json" Version="3.1.10" />
32+
<PackageReference Update="Microsoft.Extensions.Options.ConfigurationExtensions" Version="3.1.10" />
33+
</ItemGroup>
34+
3035
</Project>

tests/Bing.Tests.Samples/Bing/Tests/Samples/AggregateRootSample.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public AggregateRootSample() : this(Guid.Empty) { }
4242
/// <summary>
4343
/// 手机号
4444
/// </summary>
45-
[Display(Name = "手机号")]
45+
[Display(Description = "手机号")]
4646
public string MobilePhone { get; set; }
4747

4848
/// <summary>

version.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project>
22
<PropertyGroup>
3-
<VersionMajor>1</VersionMajor>
4-
<VersionMinor>2</VersionMinor>
5-
<VersionPatch>2</VersionPatch>
6-
<VersionQuality>20201217-1</VersionQuality>
3+
<VersionMajor>2</VersionMajor>
4+
<VersionMinor>0</VersionMinor>
5+
<VersionPatch>0</VersionPatch>
6+
<VersionQuality>20210102-1</VersionQuality>
77
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>
88
<VersionSuffix>preview-$(VersionQuality)</VersionSuffix>
99
</PropertyGroup>

0 commit comments

Comments
 (0)