WeihanLi.Common.Aspect.AspectCore 1.0.60-preview-20230820-135607

Prefix Reserved
This is a prerelease version of WeihanLi.Common.Aspect.AspectCore.
There is a newer version of this package available.
See the version list below for details.
dotnet add package WeihanLi.Common.Aspect.AspectCore --version 1.0.60-preview-20230820-135607
                    
NuGet\Install-Package WeihanLi.Common.Aspect.AspectCore -Version 1.0.60-preview-20230820-135607
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WeihanLi.Common.Aspect.AspectCore" Version="1.0.60-preview-20230820-135607" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WeihanLi.Common.Aspect.AspectCore" Version="1.0.60-preview-20230820-135607" />
                    
Directory.Packages.props
<PackageReference Include="WeihanLi.Common.Aspect.AspectCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add WeihanLi.Common.Aspect.AspectCore --version 1.0.60-preview-20230820-135607
                    
#r "nuget: WeihanLi.Common.Aspect.AspectCore, 1.0.60-preview-20230820-135607"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package WeihanLi.Common.Aspect.AspectCore@1.0.60-preview-20230820-135607
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=WeihanLi.Common.Aspect.AspectCore&version=1.0.60-preview-20230820-135607&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=WeihanLi.Common.Aspect.AspectCore&version=1.0.60-preview-20230820-135607&prerelease
                    
Install as a Cake Tool

WeihanLi.Common.Aspect.AspectCore WeihanLi.Common.Aspect.AspectCore

Intro

AspectCore extensions, FluentAspect AspectCore extensions

Use

services.AddFluentAspects(options =>
    {
        options.NoInterceptPropertyGetter<IFly>(f => f.Name);

        options.InterceptAll()
            .With<LogInterceptor>()
            ;
        options.InterceptMethod<DbContext>(x => x.Name == nameof(DbContext.SaveChanges)
                                                || x.Name == nameof(DbContext.SaveChangesAsync))
            .With<DbContextSaveInterceptor>()
            ;
        options.InterceptMethod<IFly>(f => f.Fly())
            .With<LogInterceptor>();
        options.InterceptType<IFly>()
            .With<LogInterceptor>();

        options
            .WithProperty("TraceId", "121212")
            ;
    })
    .UseAspectCoreProxy()
    ;
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.61-preview-20240103-180755 127 1/3/2024
1.0.61-preview-20231229-162108 124 12/29/2023
1.0.60 259 11/15/2023
1.0.60-preview-20231115-151131 114 11/15/2023
1.0.60-preview-20231111-140807 125 11/11/2023
1.0.60-preview-20231105-053855 123 11/5/2023
1.0.60-preview-20231011-104232 133 10/11/2023
1.0.60-preview-20230915-143829 151 9/15/2023
1.0.60-preview-20230913-003854 151 9/13/2023
1.0.60-preview-20230823-014838 180 8/23/2023
1.0.60-preview-20230820-145922 188 8/20/2023
1.0.60-preview-20230820-135607 183 8/20/2023
1.0.60-preview-20230812-150107 170 8/12/2023
1.0.60-preview-20230809-005257 171 8/9/2023
1.0.60-preview-20230730-064409 200 7/30/2023
1.0.60-preview-20230728-022632 211 7/28/2023
1.0.60-preview-20230723-122007 202 7/23/2023
1.0.60-preview-20230715-064515 185 7/15/2023
1.0.59 352 3/14/2023
1.0.58 404 11/26/2022
1.0.57 418 11/20/2022
1.0.56 409 11/11/2022
1.0.56-preview-20221110-145231 216 11/10/2022
1.0.55 459 10/26/2022
1.0.54 486 10/12/2022
1.0.54-preview-20220927-012727 261 9/27/2022
1.0.53 540 7/17/2022
1.0.53-preview-20220709-025158 235 7/9/2022
1.0.53-preview-20220707-145349 262 7/7/2022
1.0.52 518 5/28/2022
1.0.51 560 4/9/2022
1.0.50 535 3/16/2022
1.0.49 570 3/13/2022
1.0.49-preview-20220312-180433 266 3/12/2022
1.0.49-preview-20220309-012617 224 3/9/2022
1.0.49-preview-20220306-151500 234 3/6/2022
1.0.48 398 1/8/2022
1.0.48-preview-20211220-105237 269 12/20/2021
1.0.48-preview-20211212-110315 263 12/12/2021
1.0.47 393 11/28/2021
1.0.47-preview-20211009-134935 307 10/9/2021
1.0.46 457 3/20/2021
1.0.46-preview-20210320-094828 377 3/20/2021
1.0.46-preview-20210320-090449 384 3/20/2021
1.0.46-preview-20210320-065305 397 3/20/2021
1.0.46-preview-20210313-212124 356 3/13/2021
1.0.45 477 2/28/2021
1.0.44 443 2/13/2021
1.0.44-preview-20210201-164451 324 2/1/2021
1.0.44-preview-20210131-152307 323 1/31/2021
1.0.44-preview-20210131-041429 336 1/31/2021
1.0.43 584 11/14/2020
1.0.43-preview-20201108-152412 492 11/8/2020
1.0.42 547 10/18/2020
1.0.42-preview-20200920-113000 489 9/20/2020
1.0.41 674 8/8/2020
1.0.41-preview-20200804-090048 424 8/4/2020
1.0.40 594 7/15/2020
1.0.40-preview-20200713-113453 436 7/13/2020
1.0.40-preview-20200625-063932 459 6/25/2020
1.0.39 651 6/13/2020
1.0.39-preview-20200610-070004 415 6/10/2020
1.0.39-preview-20200603-023614 475 6/3/2020
1.0.38 599 5/22/2020
1.0.38-preview-20200520-154642 475 5/20/2020
1.0.38-preview-20200519-171358 455 5/19/2020
1.0.37 600 5/17/2020
1.0.37-preview-20200517-083059 466 5/17/2020
1.0.37-preview-20200516-074403 458 5/16/2020
1.0.37-preview-20200514-094816 430 5/14/2020
1.0.37-preview-20200514-042225 439 5/14/2020
1.0.36 591 5/12/2020
1.0.36-preview-20200511-165228 443 5/11/2020
1.0.36-preview-20200511-151124 467 5/11/2020
1.0.36-preview-20200507-074046 477 5/7/2020