WeihanLi.Common.Aspect.Castle 1.0.61-preview-20240103-180755

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
This is a prerelease version of WeihanLi.Common.Aspect.Castle.
dotnet add package WeihanLi.Common.Aspect.Castle --version 1.0.61-preview-20240103-180755
NuGet\Install-Package WeihanLi.Common.Aspect.Castle -Version 1.0.61-preview-20240103-180755
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.61-preview-20240103-180755" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WeihanLi.Common.Aspect.Castle --version 1.0.61-preview-20240103-180755
#r "nuget: WeihanLi.Common.Aspect.Castle, 1.0.61-preview-20240103-180755"
#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.
// Install WeihanLi.Common.Aspect.Castle as a Cake Addin
#addin nuget:?package=WeihanLi.Common.Aspect.Castle&version=1.0.61-preview-20240103-180755&prerelease

// Install WeihanLi.Common.Aspect.Castle as a Cake Tool
#tool nuget:?package=WeihanLi.Common.Aspect.Castle&version=1.0.61-preview-20240103-180755&prerelease

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. 
.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 64 1/3/2024
1.0.61-preview-20231229-162108 72 12/29/2023
1.0.60 158 11/15/2023
1.0.60-preview-20231115-151131 70 11/15/2023
1.0.60-preview-20231111-140807 74 11/11/2023
1.0.60-preview-20231105-053855 45 11/5/2023
1.0.60-preview-20231011-104232 79 10/11/2023
1.0.60-preview-20230915-143829 67 9/15/2023
1.0.60-preview-20230913-003854 101 9/13/2023
1.0.60-preview-20230823-014838 101 8/23/2023
1.0.60-preview-20230820-145922 112 8/20/2023
1.0.60-preview-20230820-135607 89 8/20/2023
1.0.60-preview-20230812-150107 93 8/12/2023
1.0.60-preview-20230809-005257 95 8/9/2023
1.0.60-preview-20230730-064409 96 7/30/2023
1.0.60-preview-20230728-022632 116 7/28/2023
1.0.60-preview-20230723-122007 115 7/23/2023
1.0.60-preview-20230715-064515 96 7/15/2023
1.0.59 217 3/14/2023
1.0.58 304 11/26/2022
1.0.57 310 11/20/2022
1.0.56 350 11/11/2022
1.0.56-preview-20221110-145231 116 11/10/2022
1.0.55 361 10/26/2022
1.0.54 362 10/12/2022
1.0.54-preview-20220927-012727 137 9/27/2022
1.0.53 437 7/17/2022
1.0.53-preview-20220709-025158 138 7/9/2022
1.0.53-preview-20220707-145349 148 7/7/2022
1.0.52 416 5/28/2022
1.0.51 448 4/9/2022
1.0.50 433 3/16/2022
1.0.49 452 3/13/2022
1.0.49-preview-20220312-180433 140 3/12/2022
1.0.49-preview-20220309-012617 125 3/9/2022
1.0.49-preview-20220306-151500 146 3/6/2022
1.0.48 295 1/8/2022
1.0.48-preview-20211220-105237 162 12/20/2021
1.0.48-preview-20211212-110315 146 12/12/2021
1.0.47 313 11/28/2021
1.0.47-preview-20211009-134935 195 10/9/2021
1.0.46 376 3/20/2021
1.0.46-preview-20210320-094828 263 3/20/2021
1.0.46-preview-20210320-090449 266 3/20/2021
1.0.46-preview-20210320-065305 301 3/20/2021
1.0.46-preview-20210313-212124 216 3/13/2021
1.0.45 379 2/28/2021
1.0.44 332 2/13/2021
1.0.44-preview-20210201-164451 212 2/1/2021
1.0.44-preview-20210131-152307 231 1/31/2021
1.0.44-preview-20210131-041429 210 1/31/2021
1.0.43 485 11/14/2020
1.0.43-preview-20201108-152412 352 11/8/2020
1.0.42 429 10/18/2020
1.0.42-preview-20200920-113000 318 9/20/2020
1.0.41 561 8/8/2020
1.0.41-preview-20200804-090048 298 8/4/2020
1.0.40 466 7/15/2020
1.0.40-preview-20200713-113453 317 7/13/2020
1.0.40-preview-20200625-063932 337 6/25/2020
1.0.39 500 6/13/2020
1.0.39-preview-20200610-070004 312 6/10/2020
1.0.39-preview-20200603-023614 351 6/3/2020
1.0.38 475 5/22/2020
1.0.38-preview-20200520-154642 317 5/20/2020
1.0.38-preview-20200519-171358 329 5/19/2020
1.0.37 506 5/17/2020
1.0.37-preview-20200517-083059 310 5/17/2020
1.0.37-preview-20200516-074403 339 5/16/2020
1.0.37-preview-20200514-094816 310 5/14/2020
1.0.37-preview-20200514-042225 284 5/14/2020
1.0.36 436 5/12/2020
1.0.36-preview-20200511-165228 323 5/11/2020
1.0.36-preview-20200511-151124 338 5/11/2020
1.0.36-preview-20200507-074046 324 5/7/2020