WeihanLi.Common.Aspect.Castle 1.0.60

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package WeihanLi.Common.Aspect.Castle --version 1.0.60
                    
NuGet\Install-Package WeihanLi.Common.Aspect.Castle -Version 1.0.60
                    
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.Castle" Version="1.0.60" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WeihanLi.Common.Aspect.Castle" Version="1.0.60" />
                    
Directory.Packages.props
<PackageReference Include="WeihanLi.Common.Aspect.Castle" />
                    
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.Castle --version 1.0.60
                    
#r "nuget: WeihanLi.Common.Aspect.Castle, 1.0.60"
                    
#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.Castle@1.0.60
                    
#: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.Castle&version=1.0.60
                    
Install as a Cake Addin
#tool nuget:?package=WeihanLi.Common.Aspect.Castle&version=1.0.60
                    
Install as a Cake Tool

WeihanLi.Common.Aspect.Castle WeihanLi.Common.Aspect.Castle

Intro

Castle extensions, FluentAspect Castle 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")
            ;
    })
    .UseCastleProxy()
    // .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 was computed. 
.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 179 1/3/2024
1.0.61-preview-20231229-162108 165 12/29/2023
1.0.60 349 11/15/2023
1.0.60-preview-20231115-151131 148 11/15/2023
1.0.60-preview-20231111-140807 144 11/11/2023
1.0.60-preview-20231105-053855 130 11/5/2023
1.0.60-preview-20231011-104232 164 10/11/2023
1.0.60-preview-20230915-143829 170 9/15/2023
1.0.60-preview-20230913-003854 189 9/13/2023
1.0.60-preview-20230823-014838 202 8/23/2023
1.0.60-preview-20230820-145922 219 8/20/2023
1.0.60-preview-20230820-135607 188 8/20/2023
1.0.60-preview-20230812-150107 192 8/12/2023
1.0.60-preview-20230809-005257 198 8/9/2023
1.0.60-preview-20230730-064409 211 7/30/2023
1.0.60-preview-20230728-022632 221 7/28/2023
1.0.60-preview-20230723-122007 212 7/23/2023
1.0.60-preview-20230715-064515 186 7/15/2023
1.0.59 344 3/14/2023
1.0.58 436 11/26/2022
1.0.57 455 11/20/2022
1.0.56 484 11/11/2022
1.0.56-preview-20221110-145231 255 11/10/2022
1.0.55 497 10/26/2022
1.0.54 504 10/12/2022
1.0.54-preview-20220927-012727 282 9/27/2022
1.0.53 622 7/17/2022
1.0.53-preview-20220709-025158 305 7/9/2022
1.0.53-preview-20220707-145349 296 7/7/2022
1.0.52 562 5/28/2022
1.0.51 589 4/9/2022
1.0.50 600 3/16/2022
1.0.49 617 3/13/2022
1.0.49-preview-20220312-180433 280 3/12/2022
1.0.49-preview-20220309-012617 281 3/9/2022
1.0.49-preview-20220306-151500 302 3/6/2022
1.0.48 446 1/8/2022
1.0.48-preview-20211220-105237 298 12/20/2021
1.0.48-preview-20211212-110315 281 12/12/2021
1.0.47 494 11/28/2021
1.0.47-preview-20211009-134935 369 10/9/2021
1.0.46 540 3/20/2021
1.0.46-preview-20210320-094828 426 3/20/2021
1.0.46-preview-20210320-090449 411 3/20/2021
1.0.46-preview-20210320-065305 474 3/20/2021
1.0.46-preview-20210313-212124 382 3/13/2021
1.0.45 562 2/28/2021
1.0.44 486 2/13/2021
1.0.44-preview-20210201-164451 388 2/1/2021
1.0.44-preview-20210131-152307 427 1/31/2021
1.0.44-preview-20210131-041429 403 1/31/2021
1.0.43 643 11/14/2020
1.0.43-preview-20201108-152412 528 11/8/2020
1.0.42 612 10/18/2020
1.0.42-preview-20200920-113000 458 9/20/2020
1.0.41 743 8/8/2020
1.0.41-preview-20200804-090048 474 8/4/2020
1.0.40 629 7/15/2020
1.0.40-preview-20200713-113453 510 7/13/2020
1.0.40-preview-20200625-063932 498 6/25/2020
1.0.39 681 6/13/2020
1.0.39-preview-20200610-070004 517 6/10/2020
1.0.39-preview-20200603-023614 520 6/3/2020
1.0.38 673 5/22/2020
1.0.38-preview-20200520-154642 497 5/20/2020
1.0.38-preview-20200519-171358 514 5/19/2020
1.0.37 677 5/17/2020
1.0.37-preview-20200517-083059 477 5/17/2020
1.0.37-preview-20200516-074403 510 5/16/2020
1.0.37-preview-20200514-094816 486 5/14/2020
1.0.37-preview-20200514-042225 460 5/14/2020
1.0.36 638 5/12/2020
1.0.36-preview-20200511-165228 498 5/11/2020
1.0.36-preview-20200511-151124 519 5/11/2020
1.0.36-preview-20200507-074046 493 5/7/2020