DeepBlue.FunctionTime
1.0.0.3
See the version list below for details.
dotnet add package DeepBlue.FunctionTime --version 1.0.0.3
NuGet\Install-Package DeepBlue.FunctionTime -Version 1.0.0.3
<PackageReference Include="DeepBlue.FunctionTime" Version="1.0.0.3" />
paket add DeepBlue.FunctionTime --version 1.0.0.3
#r "nuget: DeepBlue.FunctionTime, 1.0.0.3"
// Install DeepBlue.FunctionTime as a Cake Addin #addin nuget:?package=DeepBlue.FunctionTime&version=1.0.0.3 // Install DeepBlue.FunctionTime as a Cake Tool #tool nuget:?package=DeepBlue.FunctionTime&version=1.0.0.3
1.CallingLogInterceptor.cs 拦截器
2.MethodOperationInfo.cs 操作日志
3.MyProxyGenerator.cs 代理类
调用方法
ITest t = MyProxyGenerator.CreateProxy<ITest, Test>();
/// <summary>执行后
/// 主要把执行的结果集,输入的参数,该接口访问的耗时.记录到接口日记中.
/// </summary>
/// <param name="context"></param
public override void OnActionExecuted(ActionExecutedContext context)
{
string action = context.ActionDescriptor.RouteValues["action"];//方法
string controller = context.ActionDescriptor.RouteValues["controller"];//控制名
string ReturnText = Newtonsoft.Json.JsonConvert.SerializeObject(errcode);//返回值
Dictionary<string, MethodOperationInfo> dic = MethodOperationInfo.Print(); //获取此次请求完整方法
Task<int> t1 = myLogNetDal.LogNetAdd(dic, controller, action,ReturnText);//异步 计划报表
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.2
- Castle.Core (>= 4.4.0)
- Newtonsoft.Json (>= 12.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
1.修复返回值为null