File tree Expand file tree Collapse file tree 5 files changed +15
-32
lines changed
framework/tests/Bing.Tests/Domains Expand file tree Collapse file tree 5 files changed +15
-32
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11using System ;
2+ using AspectCore . DynamicProxy . Parameters ;
23using AspectCore . Extensions . DependencyInjection ;
34using Bing . DependencyInjection ;
45using 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
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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>
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments