DeepBlueNice.FunctionTiemOut 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package DeepBlueNice.FunctionTiemOut --version 1.0.4                
NuGet\Install-Package DeepBlueNice.FunctionTiemOut -Version 1.0.4                
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="DeepBlueNice.FunctionTiemOut" Version="1.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DeepBlueNice.FunctionTiemOut --version 1.0.4                
#r "nuget: DeepBlueNice.FunctionTiemOut, 1.0.4"                
#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 DeepBlueNice.FunctionTiemOut as a Cake Addin
#addin nuget:?package=DeepBlueNice.FunctionTiemOut&version=1.0.4

// Install DeepBlueNice.FunctionTiemOut as a Cake Tool
#tool nuget:?package=DeepBlueNice.FunctionTiemOut&version=1.0.4                

使用方法
 IUser _user = MyProxyGenerator.CreateProxy<IUser, AccountUser>();  //每个类都生成代理对象
Dictionary<string, MethodOperationInfo> dic = MethodOperationInfo.Print();//收集所有方法的调用参数及返回值
MethodOperationInfo.ShowAsync(dic,"控制器", "方法", SqlType.Text, "连接字符串"); //纯文本保存
MethodOperationInfo.ShowAsync(dic,"控制器", "方法", SqlType.Mssql, "连接字符串");//msSQL数据库
MethodOperationInfo.ShowAsync(dic,"控制器", "方法", SqlType.Mysql, "连接字符串");//MySQL数据库
MethodOperationInfo.Show(dic,"控制器", "方法", SqlType.Redis, "连接字符串");//Redis数据库
MethodOperationInfo.Show(dic,"控制器","方法", SqlType.Mongdb, "连接字符串", "FunctionTiemOut", $"Fun_{DateTime.Now.Year}_{DateTime.Now.Month}"); //Mongdb数据库型

Product 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 netcoreapp3.1 is compatible. 
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.5 132 3/15/2024
1.0.4 126 2/20/2024
1.0.3 92 2/20/2024
1.0.2 103 2/20/2024
1.0.1 140 1/25/2024
1.0.0 109 1/25/2024

1.0.4变更内容
1.修复ShowAsync()多线程的BUG
2.修改方法:Show(Dictionary<string, MethodOperationInfo> dic)增加这个参数。Task<string> ShowAsync(Dictionary<string, MethodOperationInfo> dic)这个参数将由外部传入
3.调用方法有改变如下:
Dictionary<string, MethodOperationInfo> dic = MethodOperationInfo.Print();//收集所有方法的调用参数及返回值(如果把收集参数的信息也放进异步方法会出现异常)
var a= MethodOperationInfo.ShowAsync(dic,context.ActionDescriptor.RouteValues["controller"], context.ActionDescriptor.RouteValues["action"], SqlType.Mongdb, "mongodb://admin:pYtZb25hZ2$VNW#W55566@192.168.1.224:28767", "FunctionTiemOut", $"Fun_{DateTime.Now.Year}_{DateTime.Now.Month}");//异步写入存储容器