Sfoglia il codice sorgente

添加备份文件

dev/1.0.1
stevelee 2 anni fa
parent
commit
86a89d6b1d
4 ha cambiato i file con 2165 aggiunte e 0 eliminazioni
  1. +28
    -0
      src/BPA.Component.DTOCommon/BPA.Component.DTOCommon/BPA - Backup.Component.DTOCommon.csproj
  2. +523
    -0
      src/BPA.Component.LogClient/BPA.Component.LogClient/BPA.Component.LogClient.xml
  3. +1580
    -0
      src/BPA.Component.MongoClient/BPA.Component.MongoClient/BPA.Component.MongoClient.xml
  4. +34
    -0
      src/BPA.Component.SDKCommon/BPA.Component.SDKCommon/BPA - Backup.Component.SDKCommon.csproj

+ 28
- 0
src/BPA.Component.DTOCommon/BPA.Component.DTOCommon/BPA - Backup.Component.DTOCommon.csproj Vedi File

@@ -0,0 +1,28 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AssemblyName>BPA.Component.DTOCommon</AssemblyName>
<RootNamespace>BPA.Component.DTOCommon</RootNamespace>
<LangVersion>default</LangVersion>
<VersionPrefix>1.0.5</VersionPrefix>
<Description>黑菠萝-DTO基础类</Description>
<PackageReleaseNotes />
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>bin\BPA.Component.DTOCommon.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\BPA.Component.DTOCommon.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Nuget.Tools.V2" Version="1.1.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\BPA.Component.Extensions\BPA.Component.Extensions\BPA.Component.Extensions.csproj" />
</ItemGroup>
</Project>

+ 523
- 0
src/BPA.Component.LogClient/BPA.Component.LogClient/BPA.Component.LogClient.xml Vedi File

@@ -0,0 +1,523 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>BPA.Component.LogClient</name>
</assembly>
<members>
<member name="T:BPA.Component.LogClient.AttributeExtensions">
<summary>
AttributeExtensions
</summary>
</member>
<member name="M:BPA.Component.LogClient.AttributeExtensions.GetFirstCustomAttribute``1(System.Type)">
<summary>
GetFirstCustomAttribute
</summary>
<typeparam name="TAttribute"></typeparam>
<param name="type"></param>
<returns></returns>
</member>
<member name="T:BPA.Component.LogClient.BPALogManager">
<summary>
BPALogManager
</summary>
</member>
<member name="M:BPA.Component.LogClient.BPALogManager.GetCurrentClassLogger(System.Type)">
<summary>
获取当前类的Logger
</summary>
<param name="loggerType"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.BPALogManager.GetCurrentClassLogger``1">
<summary>
获取当前类的Logger
</summary>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.BPALogManager.GetCurrentClassLogger">
<summary>
获取当前类的Logger
</summary>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.BPALogManager.GetLogger(System.String,System.Type)">
<summary>
获取Logger
</summary>
<param name="name"></param>
<param name="loggerType"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.BPALogManager.GetLogger(System.String)">
<summary>
获取Logger
</summary>
<param name="name"></param>
<returns></returns>
</member>
<member name="T:BPA.Component.LogClient.Extensions.BPALoggerConfigurationExtensions">
<summary>
BPALoggerConfigurationExtensions
</summary>
</member>
<member name="M:BPA.Component.LogClient.Extensions.BPALoggerConfigurationExtensions.AddBPALog(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Boolean)">
<summary>
UseBPALog,
</summary>
<param name="services"></param>
<param name="isTargetFile"></param>
<param name="elasticSearchConfig"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.BPALoggerConfigurationExtensions.ConfigureLog(System.Boolean)">
<summary>
Configure Log
</summary>
<param name="isTargetFile"></param>
</member>
<member name="T:BPA.Component.LogClient.Extensions.IMILoggerExtensions">
<summary>
Microsoft.Extensions.Logging.ILogger Extensions
</summary>
</member>
<member name="M:BPA.Component.LogClient.Extensions.IMILoggerExtensions.DebugJson``1(Microsoft.Extensions.Logging.ILogger,System.String,``0)">
<summary>
DebugJson
<code>
DebugJson("message:{userInfo}",userInfo)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.IMILoggerExtensions.DebugJson``2(Microsoft.Extensions.Logging.ILogger,System.String,``0,``1)">
<summary>
DebugJson
<code>
DebugJson("message:{userInfo1},{userInfo2}",userInfo1,userInfo2)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.IMILoggerExtensions.DebugJson``3(Microsoft.Extensions.Logging.ILogger,System.String,``0,``1,``2)">
<summary>
DebugJson
<code>
DebugJson("message:{userInfo1},{userInfo2},{userInfo3}",userInfo1,userInfo2,userInfo3)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<typeparam name="TArgument3"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<param name="argument3"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.IMILoggerExtensions.InfoJson``1(Microsoft.Extensions.Logging.ILogger,System.String,``0)">
<summary>
InfoJson
<code>
InfoJson("message:{userInfo}",userInfo)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.IMILoggerExtensions.InfoJson``2(Microsoft.Extensions.Logging.ILogger,System.String,``0,``1)">
<summary>
InfoJson
<code>
InfoJson("message:{userInfo1},{userInfo2}",userInfo1,userInfo2)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.IMILoggerExtensions.InfoJson``3(Microsoft.Extensions.Logging.ILogger,System.String,``0,``1,``2)">
<summary>
InfoJson
<code>
InfoJson("message:{userInfo1},{userInfo2},{userInfo3}",userInfo1,userInfo2,userInfo3)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<typeparam name="TArgument3"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<param name="argument3"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.IMILoggerExtensions.WarnJson``1(Microsoft.Extensions.Logging.ILogger,System.String,``0)">
<summary>
WarnJson
<code>
WarnJson("message:{userInfo}",userInfo)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.IMILoggerExtensions.WarnJson``2(Microsoft.Extensions.Logging.ILogger,System.String,``0,``1)">
<summary>
WarnJson
<code>
WarnJson("message:{userInfo1},{userInfo2}",userInfo1,userInfo2)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.IMILoggerExtensions.WarnJson``3(Microsoft.Extensions.Logging.ILogger,System.String,``0,``1,``2)">
<summary>
WarnJson
<code>
WarnJson("message:{userInfo1},{userInfo2},{userInfo3}",userInfo1,userInfo2,userInfo3)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<typeparam name="TArgument3"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<param name="argument3"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.IMILoggerExtensions.ErrorJson``1(Microsoft.Extensions.Logging.ILogger,System.Exception,System.String,``0)">
<summary>
ErrorJson
<code>
ErrorJson(exception,"message:{userInfo}",userInfo)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<param name="logger"></param>
<param name="exception"></param>
<param name="message"></param>
<param name="argument1"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.IMILoggerExtensions.ErrorJson``2(Microsoft.Extensions.Logging.ILogger,System.Exception,System.String,``0,``1)">
<summary>
ErrorJson
<code>
ErrorJson(exception,"message:{userInfo1},{userInfo2}",userInfo1,userInfo2)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<param name="logger"></param>
<param name="exception"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.IMILoggerExtensions.ErrorJson``3(Microsoft.Extensions.Logging.ILogger,System.Exception,System.String,``0,``1,``2)">
<summary>
ErrorJson
<code>
ErrorJson(exception,"message:{userInfo1},{userInfo2},{userInfo3}",userInfo1,userInfo2,userInfo3)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<typeparam name="TArgument3"></typeparam>
<param name="logger"></param>
<param name="exception"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<param name="argument3"></param>
<returns></returns>
</member>
<member name="T:BPA.Component.LogClient.Extensions.INLoggerExtensions">
<summary>
ILoggerExtensions
</summary>
</member>
<member name="M:BPA.Component.LogClient.Extensions.INLoggerExtensions.LogObjToJson``1(``0)">
<summary>
LogObjToJson
</summary>
<typeparam name="TObj"></typeparam>
<param name="obj"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.INLoggerExtensions.DebugJson``1(NLog.ILogger,System.String,``0)">
<summary>
DebugJson
<code>
DebugJson("message:{userInfo}",userInfo)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.INLoggerExtensions.DebugJson``2(NLog.ILogger,System.String,``0,``1)">
<summary>
DebugJson
<code>
DebugJson("message:{userInfo1},{userInfo2}",userInfo1,userInfo2)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.INLoggerExtensions.DebugJson``3(NLog.ILogger,System.String,``0,``1,``2)">
<summary>
DebugJson
<code>
DebugJson("message:{userInfo1},{userInfo2},{userInfo3}",userInfo1,userInfo2,userInfo3)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<typeparam name="TArgument3"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<param name="argument3"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.INLoggerExtensions.InfoJson``1(NLog.ILogger,System.String,``0)">
<summary>
InfoJson
<code>
InfoJson("message:{userInfo}",userInfo)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.INLoggerExtensions.InfoJson``2(NLog.ILogger,System.String,``0,``1)">
<summary>
InfoJson
<code>
InfoJson("message:{userInfo1},{userInfo2}",userInfo1,userInfo2)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.INLoggerExtensions.InfoJson``3(NLog.ILogger,System.String,``0,``1,``2)">
<summary>
InfoJson
<code>
InfoJson("message:{userInfo1},{userInfo2},{userInfo3}",userInfo1,userInfo2,userInfo3)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<typeparam name="TArgument3"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<param name="argument3"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.INLoggerExtensions.WarnJson``1(NLog.ILogger,System.String,``0)">
<summary>
WarnJson
<code>
WarnJson("message:{userInfo}",userInfo)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.INLoggerExtensions.WarnJson``2(NLog.ILogger,System.String,``0,``1)">
<summary>
WarnJson
<code>
WarnJson("message:{userInfo1},{userInfo2}",userInfo1,userInfo2)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.INLoggerExtensions.WarnJson``3(NLog.ILogger,System.String,``0,``1,``2)">
<summary>
WarnJson
<code>
WarnJson("message:{userInfo1},{userInfo2},{userInfo3}",userInfo1,userInfo2,userInfo3)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<typeparam name="TArgument3"></typeparam>
<param name="logger"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<param name="argument3"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.INLoggerExtensions.ErrorJson``1(NLog.ILogger,System.Exception,System.String,``0)">
<summary>
ErrorJson
<code>
ErrorJson(exception,"message:{userInfo}",userInfo)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<param name="logger"></param>
<param name="exception"></param>
<param name="message"></param>
<param name="argument1"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.INLoggerExtensions.ErrorJson``2(NLog.ILogger,System.Exception,System.String,``0,``1)">
<summary>
ErrorJson
<code>
ErrorJson(exception,"message:{userInfo1},{userInfo2}",userInfo1,userInfo2)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<param name="logger"></param>
<param name="exception"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.Extensions.INLoggerExtensions.ErrorJson``3(NLog.ILogger,System.Exception,System.String,``0,``1,``2)">
<summary>
ErrorJson
<code>
ErrorJson(exception,"message:{userInfo1},{userInfo2},{userInfo3}",userInfo1,userInfo2,userInfo3)
</code>
</summary>
<typeparam name="TArgument1"></typeparam>
<typeparam name="TArgument2"></typeparam>
<typeparam name="TArgument3"></typeparam>
<param name="logger"></param>
<param name="exception"></param>
<param name="message"></param>
<param name="argument1"></param>
<param name="argument2"></param>
<param name="argument3"></param>
<returns></returns>
</member>
<member name="T:BPA.Component.LogClient.StackTraceUsageUtils">
<summary>
StackTraceUsageUtils
</summary>
</member>
<member name="M:BPA.Component.LogClient.StackTraceUsageUtils.GetFrameCount(System.Diagnostics.StackTrace)">
<summary>
GetFrameCount
</summary>
<param name="strackTrace"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.StackTraceUsageUtils.GetStackFrameMethodName(System.Reflection.MethodBase,System.Boolean,System.Boolean,System.Boolean)">
<summary>
GetStackFrameMethodName
</summary>
<param name="method"></param>
<param name="includeMethodInfo"></param>
<param name="cleanAsyncMoveNext"></param>
<param name="cleanAnonymousDelegates"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.StackTraceUsageUtils.GetStackFrameMethodClassName(System.Reflection.MethodBase,System.Boolean,System.Boolean,System.Boolean)">
<summary>
GetStackFrameMethodClassName
</summary>
<param name="method"></param>
<param name="includeNameSpace"></param>
<param name="cleanAsyncMoveNext"></param>
<param name="cleanAnonymousDelegates"></param>
<returns></returns>
</member>
<member name="M:BPA.Component.LogClient.StackTraceUsageUtils.GetClassFullName">
<summary>
Gets the fully qualified name of the class invoking the calling method, including the
namespace but not the assembly.
</summary>
</member>
<member name="M:BPA.Component.LogClient.StackTraceUsageUtils.GetClassFullName(System.Diagnostics.StackFrame)">
<summary>
Gets the fully qualified name of the class invoking the calling method, including the
namespace but not the assembly.
</summary>
<param name="stackFrame">StackFrame from the calling method</param>
<returns>Fully qualified class name</returns>
</member>
<member name="M:BPA.Component.LogClient.StackTraceUsageUtils.LookupAssemblyFromStackFrame(System.Diagnostics.StackFrame)">
<summary>
Returns the assembly from the provided StackFrame (If not internal assembly)
</summary>
<returns>Valid asssembly, or null if assembly was internal</returns>
</member>
<member name="M:BPA.Component.LogClient.StackTraceUsageUtils.LookupClassNameFromStackFrame(System.Diagnostics.StackFrame)">
<summary>
Returns the classname from the provided StackFrame (If not from internal assembly)
</summary>
<param name="stackFrame"></param>
<returns>Valid class name, or empty string if assembly was internal</returns>
</member>
</members>
</doc>

+ 1580
- 0
src/BPA.Component.MongoClient/BPA.Component.MongoClient/BPA.Component.MongoClient.xml
File diff soppresso perché troppo grande
Vedi File


+ 34
- 0
src/BPA.Component.SDKCommon/BPA.Component.SDKCommon/BPA - Backup.Component.SDKCommon.csproj Vedi File

@@ -0,0 +1,34 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AssemblyName>BPA.Component.SDKCommon</AssemblyName>
<RootNamespace>BPA.Component.SDKCommon</RootNamespace>
<VersionPrefix>1.0.2</VersionPrefix>
<Description>黑菠萝-SDK基础类</Description>
<PackageReleaseNotes />
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>bin\BPA.Component.ApolloClient.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\BPA.Component.ApolloClient.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Nuget.Tools.V2" Version="1.1.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Refit.HttpClientFactory" Version="5.2.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.5" />
<!-- <PackageReference Include="Microsoft.Extensions.Http.Polly" Version="6.0.0"/>-->
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\BPA.Component.DTOCommon\BPA.Component.DTOCommon\BPA.Component.DTOCommon.csproj" />
</ItemGroup>
</Project>

Caricamento…
Annulla
Salva