├── .editorconfig
├── .gitattributes
├── .github
├── ISSUE_TEMPLATE
│ ├── bug_report.md
│ └── feature_request.md
└── workflows
│ └── docfx.yml
├── .gitignore
├── .travis.yml
├── Bing.All.sln
├── LICENSE
├── README.md
├── appveyor.yml
├── asset
├── images
│ └── icon.png
└── props
│ ├── misc.props
│ ├── package.props
│ ├── sourcelink.env.props
│ └── target.feature.props
├── common.props
├── common.tests.props
├── components
├── Publish.bat
├── src
│ ├── Bing.Biz.OAuthLogin
│ │ ├── Alibaba
│ │ │ ├── AlibabaAuthorizationProvider.cs
│ │ │ ├── AlibabaAuthorizationRequest.cs
│ │ │ ├── Configs
│ │ │ │ ├── AlibabaAuthorizationConfig.cs
│ │ │ │ ├── AlibabaAuthorizationConfigProvider.cs
│ │ │ │ └── IAlibabaAuthorizationConfigProvider.cs
│ │ │ └── IAlibabaAuthorizationProvider.cs
│ │ ├── Baidu
│ │ │ ├── BaiduAuthorizationProvider.cs
│ │ │ ├── BaiduAuthorizationRequest.cs
│ │ │ ├── Configs
│ │ │ │ ├── BaiduAuthorizationConfig.cs
│ │ │ │ ├── BaiduAuthorizationConfigProvider.cs
│ │ │ │ └── IBaiduAuthorizationConfigProvider.cs
│ │ │ └── IBaiduAuthorizationProvider.cs
│ │ ├── Bing.Biz.OAuthLogin.csproj
│ │ ├── Coding
│ │ │ ├── CodingAuthorizationProvider.cs
│ │ │ ├── CodingAuthorizationRequest.cs
│ │ │ ├── CodingAuthorizationUserInfoResult.cs
│ │ │ ├── CodingAuthorizationUserRequest.cs
│ │ │ ├── Configs
│ │ │ │ ├── CodingAuthorizationConfig.cs
│ │ │ │ ├── CodingAuthorizationConfigProvider.cs
│ │ │ │ └── ICodingAuthorizationConfigProvider.cs
│ │ │ └── ICodingAuthorizationProvider.cs
│ │ ├── Core
│ │ │ ├── AccessTokenParam.cs
│ │ │ ├── AccessTokenResult.cs
│ │ │ ├── AuthorizationConfigBase.cs
│ │ │ ├── AuthorizationConfigProviderBase.cs
│ │ │ ├── AuthorizationParam.cs
│ │ │ ├── AuthorizationParamBase.cs
│ │ │ ├── AuthorizationParameterBuilder.cs
│ │ │ ├── AuthorizationProviderBase.cs
│ │ │ ├── AuthorizationResult.cs
│ │ │ ├── AuthorizationUserInfoResult.cs
│ │ │ ├── AuthorizationUserParam.cs
│ │ │ ├── AuthorizationUserParamBase.cs
│ │ │ ├── IAccessTokenProvider.cs
│ │ │ ├── IAuthorizationConfig.cs
│ │ │ ├── IAuthorizationConfigProvider.cs
│ │ │ ├── IAuthorizationProvider.cs
│ │ │ ├── IAuthorizationUrlProvider.cs
│ │ │ ├── IGetOpenIdProvider.cs
│ │ │ ├── IGetUserInfoProvider.cs
│ │ │ ├── IRefreshTokenProvider.cs
│ │ │ ├── OAuthConst.cs
│ │ │ └── OAuthWay.cs
│ │ ├── DingTalk
│ │ │ ├── Configs
│ │ │ │ ├── DingTalkAuthorizationConfig.cs
│ │ │ │ ├── DingTalkAuthorizationConfigProvider.cs
│ │ │ │ └── IDingTalkAuthorizationConfigProvider.cs
│ │ │ ├── DingTalkAuthorizationProvider.cs
│ │ │ ├── DingTalkAuthorizationRequest.cs
│ │ │ └── IDingTalkAuthorizationProvider.cs
│ │ ├── Extensions
│ │ │ ├── AuthorizationProviderExtensions.cs
│ │ │ └── AuthorizationResultExtensions.cs
│ │ ├── Facebook
│ │ │ ├── Configs
│ │ │ │ ├── FacebookAuthorizationConfig.cs
│ │ │ │ ├── FacebookAuthorizationConfigProvider.cs
│ │ │ │ └── IFacebookAuthorizationConfigProvider.cs
│ │ │ ├── FacebookAuthorizationProvider.cs
│ │ │ ├── FacebookAuthorizationRequest.cs
│ │ │ └── IFacebookAuthorizationProvider.cs
│ │ ├── Gitee
│ │ │ ├── Configs
│ │ │ │ ├── GiteeAuthorizationConfig.cs
│ │ │ │ ├── GiteeAuthorizationConfigProvider.cs
│ │ │ │ └── IGiteeAuthorizationConfigProvider.cs
│ │ │ ├── GiteeAuthorizationProvider.cs
│ │ │ ├── GiteeAuthorizationRequest.cs
│ │ │ ├── GiteeAuthorizationUserInfoResult.cs
│ │ │ ├── GiteeAuthorizationUserRequest.cs
│ │ │ └── IGiteeAuthorizationProvider.cs
│ │ ├── Github
│ │ │ ├── Configs
│ │ │ │ ├── GithubAuthorizationConfig.cs
│ │ │ │ ├── GithubAuthorizationConfigProvider.cs
│ │ │ │ └── IGithubAuthorizationConfigProvider.cs
│ │ │ ├── GithubAuthorizationProvider.cs
│ │ │ ├── GithubAuthorizationRequest.cs
│ │ │ ├── GithubAuthorizationUserInfoResult.cs
│ │ │ ├── GithubAuthorizationUserRequest.cs
│ │ │ └── IGithubAuthorizationProvider.cs
│ │ ├── IOAuthLoginFactory.cs
│ │ ├── Jd
│ │ │ ├── Configs
│ │ │ │ ├── IJdAuthorizationConfigProvider.cs
│ │ │ │ ├── JdAuthorizationConfig.cs
│ │ │ │ └── JdAuthorizationConfigProvider.cs
│ │ │ ├── IJdAuthorizationProvider.cs
│ │ │ ├── JdAuthorizationProvider.cs
│ │ │ └── JdAuthorizationRequest.cs
│ │ ├── MeiliShuo
│ │ │ ├── Configs
│ │ │ │ ├── IMeiliShuoAuthorizationConfigProvider.cs
│ │ │ │ ├── MeiliShuoAuthorizationConfig.cs
│ │ │ │ └── MeiliShuoAuthorizationConfigProvider.cs
│ │ │ ├── IMeiliShuoAuthorizationProvider.cs
│ │ │ ├── MeiliShuoAuthorizationProvider.cs
│ │ │ └── MeiliShuoAuthorizationRequest.cs
│ │ ├── Microsoft
│ │ │ ├── Configs
│ │ │ │ ├── IMicrosoftAuthorizationConfigProvider.cs
│ │ │ │ ├── MicrosoftAuthorizationConfig.cs
│ │ │ │ └── MicrosoftAuthorizationConfigProvider.cs
│ │ │ ├── IMicrosoftAuthorizationProvider.cs
│ │ │ ├── MicrosoftAuthorizationProvider.cs
│ │ │ └── MicrosoftAuthorizationRequest.cs
│ │ ├── OsChina
│ │ │ ├── Configs
│ │ │ │ ├── IOsChinaAuthorizationConfigProvider.cs
│ │ │ │ ├── OsChinaAuthorizationConfig.cs
│ │ │ │ └── OsChinaAuthorizationConfigProvider.cs
│ │ │ ├── IOsChinaAuthorizationProvider.cs
│ │ │ ├── OsChinaAuthorizationProvider.cs
│ │ │ └── OsChinaAuthorizationRequest.cs
│ │ ├── QQ
│ │ │ ├── Configs
│ │ │ │ ├── IQQAuthorizationConfigProvider.cs
│ │ │ │ ├── QQAuthorizationConfig.cs
│ │ │ │ └── QQAuthorizationConfigProvider.cs
│ │ │ ├── IQQAuthorizationProvider.cs
│ │ │ ├── QQAuthorizationProvider.cs
│ │ │ ├── QQAuthorizationRequest.cs
│ │ │ ├── QQAuthorizationUserInfoResult.cs
│ │ │ └── QQAuthorizationUserRequest.cs
│ │ ├── Taobao
│ │ │ ├── Configs
│ │ │ │ ├── ITaobaoAuthorizationConfigProvider.cs
│ │ │ │ ├── TaobaoAuthorizationConfig.cs
│ │ │ │ └── TaobaoAuthorizationConfigProvider.cs
│ │ │ ├── ITaobaoAuthorizationProvider.cs
│ │ │ ├── TaobaoAuthorizationProvider.cs
│ │ │ └── TaobaoAuthorizationRequest.cs
│ │ ├── Wechat
│ │ │ ├── Configs
│ │ │ │ ├── IWechatAuthorizationConfigProvider.cs
│ │ │ │ ├── WechatAuthorizationConfig.cs
│ │ │ │ └── WechatAuthorizationConfigProvider.cs
│ │ │ ├── IWechatAuthorizationProvider.cs
│ │ │ ├── WechatAccessTokenResult.cs
│ │ │ ├── WechatAuthorizationProvider.cs
│ │ │ ├── WechatAuthorizationRequest.cs
│ │ │ ├── WechatAuthorizationUserInfoResult.cs
│ │ │ └── WechatAuthorizationUserRequest.cs
│ │ ├── Weibo
│ │ │ ├── Configs
│ │ │ │ ├── IWeiboAuthorizationConfigProvider.cs
│ │ │ │ ├── WeiboAuthorizationConfig.cs
│ │ │ │ └── WeiboAuthorizationConfigProvider.cs
│ │ │ ├── IWeiboAuthorizationProvider.cs
│ │ │ ├── WeiboAccessTokenResult.cs
│ │ │ ├── WeiboAuthorizationProvider.cs
│ │ │ ├── WeiboAuthorizationRequest.cs
│ │ │ ├── WeiboAuthorizationUserInfoResult.cs
│ │ │ └── WeiboAuthorizationUserRequest.cs
│ │ └── Youzan
│ │ │ ├── Configs
│ │ │ ├── IYouzanAuthorizationConfigProvider.cs
│ │ │ ├── YouzanAuthorizationConfig.cs
│ │ │ └── YouzanAuthorizationConfigProvider.cs
│ │ │ ├── IYouzanAuthorizationProvider.cs
│ │ │ ├── YouzanAuthorizationProvider.cs
│ │ │ └── YouzanAuthorizationRequest.cs
│ ├── Bing.Biz.Payments
│ │ ├── Alipay
│ │ │ ├── Abstractions
│ │ │ │ ├── IAlipayAppPayService.cs
│ │ │ │ ├── IAlipayBarcodePayService.cs
│ │ │ │ ├── IAlipayNotifyService.cs
│ │ │ │ ├── IAlipayPagePayService.cs
│ │ │ │ ├── IAlipayQrCodePayService.cs
│ │ │ │ ├── IAlipayReturnService.cs
│ │ │ │ └── IAlipayWapPayService.cs
│ │ │ ├── Configs
│ │ │ │ ├── AlipayConfig.cs
│ │ │ │ ├── AlipayConfigProvider.cs
│ │ │ │ ├── AlipayConst.cs
│ │ │ │ └── IAlipayConfigProvider.cs
│ │ │ ├── Enums
│ │ │ │ └── TradeStatus.cs
│ │ │ ├── Parameters
│ │ │ │ ├── AlipayContentBuilder.cs
│ │ │ │ ├── AlipayParameterBuilder.cs
│ │ │ │ └── Requests
│ │ │ │ │ ├── AlipayAppPayRequest.cs
│ │ │ │ │ ├── AlipayBarcodePayRequest.cs
│ │ │ │ │ ├── AlipayPagePayRequest.cs
│ │ │ │ │ ├── AlipayPrecreateRequest.cs
│ │ │ │ │ ├── AlipayRequestBase.cs
│ │ │ │ │ └── AlipayWapPayRequest.cs
│ │ │ ├── Results
│ │ │ │ └── AlipayResult.cs
│ │ │ └── Services
│ │ │ │ ├── AlipayAppPayService.cs
│ │ │ │ ├── AlipayBarcodePayService.cs
│ │ │ │ ├── AlipayNotifyService.cs
│ │ │ │ ├── AlipayPagePayService.cs
│ │ │ │ ├── AlipayQrCodePayService.cs
│ │ │ │ ├── AlipayReturnService.cs
│ │ │ │ ├── AlipayWapPayService.cs
│ │ │ │ └── Base
│ │ │ │ ├── AlipayNotifyServiceBase.cs
│ │ │ │ └── AlipayServiceBase.cs
│ │ ├── Bing.Biz.Payments.csproj
│ │ ├── Core
│ │ │ ├── DownloadBillParam.cs
│ │ │ ├── DownloadBillParamBase.cs
│ │ │ ├── DownloadBillWay.cs
│ │ │ ├── INotifyService.cs
│ │ │ ├── IPayService.cs
│ │ │ ├── PayParam.cs
│ │ │ ├── PayParamBase.cs
│ │ │ ├── PayResult.cs
│ │ │ ├── PayWay.cs
│ │ │ └── RefundResult.cs
│ │ ├── Extensions
│ │ │ ├── Extensions.Service.cs
│ │ │ └── PayOptions.cs
│ │ ├── Factories
│ │ │ └── PayFactory.cs
│ │ ├── IPayFactory.cs
│ │ ├── Properties
│ │ │ ├── PayResource.Designer.cs
│ │ │ └── PayResource.resx
│ │ ├── Wechatpay
│ │ │ ├── Abstractions
│ │ │ │ ├── IWechatpayAppPayService.cs
│ │ │ │ ├── IWechatpayDownloadBillService.cs
│ │ │ │ ├── IWechatpayH5PayService.cs
│ │ │ │ ├── IWechatpayJsApiPayService.cs
│ │ │ │ ├── IWechatpayMiniProgramPayService.cs
│ │ │ │ ├── IWechatpayNativePayService.cs
│ │ │ │ ├── IWechatpayNotifyService.cs
│ │ │ │ ├── IWechatpayPaymentCodePayService.cs
│ │ │ │ └── IWechatpayRefundService.cs
│ │ │ ├── Configs
│ │ │ │ ├── IWechatpayConfigProvider.cs
│ │ │ │ ├── WechatpayConfig.cs
│ │ │ │ ├── WechatpayConfigProvider.cs
│ │ │ │ └── WechatpayConst.cs
│ │ │ ├── Enums
│ │ │ │ ├── WechatpayAccountType.cs
│ │ │ │ ├── WechatpayBillType.cs
│ │ │ │ └── WechatpaySignType.cs
│ │ │ ├── Parameters
│ │ │ │ ├── IWechatpayParameterBuilder.cs
│ │ │ │ ├── Requests
│ │ │ │ │ ├── WechatRefundRequest.cs
│ │ │ │ │ ├── WechatpayAppPayRequest.cs
│ │ │ │ │ ├── WechatpayDownloadBillRequest.cs
│ │ │ │ │ ├── WechatpayH5PayRequest.cs
│ │ │ │ │ ├── WechatpayJsApiPayRequest.cs
│ │ │ │ │ ├── WechatpayMiniProgramPayRequest.cs
│ │ │ │ │ ├── WechatpayNativePayRequest.cs
│ │ │ │ │ └── WechatpayPaymentCodePayRequest.cs
│ │ │ │ ├── WechatpayParameterBuilder.cs
│ │ │ │ ├── WechatpayParameterBuilderBase.cs
│ │ │ │ ├── WechatpayParameterBuilderExtensions.cs
│ │ │ │ └── WechatpayRefundParameterBuilder.cs
│ │ │ ├── Results
│ │ │ │ ├── WechatpayBillInfo.cs
│ │ │ │ ├── WechatpayDownloadBillResult.cs
│ │ │ │ └── WechatpayResult.cs
│ │ │ ├── Services
│ │ │ │ ├── Base
│ │ │ │ │ ├── WechatpayPayServiceBase.cs
│ │ │ │ │ └── WechatpayServiceBase.cs
│ │ │ │ ├── CsvMappings
│ │ │ │ │ ├── RemovePrefixDecimalConvert.cs
│ │ │ │ │ ├── RemovePrefixStringConvert.cs
│ │ │ │ │ ├── WechatpayAllBillInfoMapping.cs
│ │ │ │ │ ├── WechatpayRefundBillInfoMapping.cs
│ │ │ │ │ └── WechatpaySuccessBillInfoMapping.cs
│ │ │ │ ├── WechatpayAppPayService.cs
│ │ │ │ ├── WechatpayDownloadBillService.cs
│ │ │ │ ├── WechatpayH5PayService.cs
│ │ │ │ ├── WechatpayJsApiPayService.cs
│ │ │ │ ├── WechatpayMiniProgramPayService.cs
│ │ │ │ ├── WechatpayNativePayService.cs
│ │ │ │ ├── WechatpayNotifyService.cs
│ │ │ │ ├── WechatpayPaymentCodePayService.cs
│ │ │ │ └── WechatpayRefundService.cs
│ │ │ └── Signatures
│ │ │ │ ├── HmacSha256SignManager.cs
│ │ │ │ ├── Md5SignManager.cs
│ │ │ │ └── SignManagerFactory.cs
│ │ ├── project.dependency.props
│ │ └── project.props
│ ├── Bing.Biz
│ │ ├── Bing.Biz.csproj
│ │ ├── Bing
│ │ │ └── Biz
│ │ │ │ ├── Addresses
│ │ │ │ ├── Address.cs
│ │ │ │ ├── AddressInfo.cs
│ │ │ │ ├── AddressInfoExtensions.cs
│ │ │ │ └── NullAddress.cs
│ │ │ │ ├── Contacts
│ │ │ │ └── Contact.cs
│ │ │ │ └── Enums
│ │ │ │ ├── Gender.cs
│ │ │ │ └── Nation.cs
│ │ ├── project.dependency.props
│ │ └── project.props
│ └── Directory.Build.props
└── tests
│ └── Bing.Biz.Payments.Tests
│ ├── Bing.Biz.Payments.Tests.csproj
│ ├── TestConst.cs
│ └── Wechatpay
│ ├── Configs
│ └── TestConfigProvider.cs
│ ├── Parameters
│ └── WechatpayParameterBuilderTest.cs
│ ├── Results
│ └── WechatpayResultTest.cs
│ └── Services
│ └── WechatpayDownloadBillServiceTest.cs
├── docs
├── ReleaseNotes.md
├── api
│ ├── .gitignore
│ └── index.md
├── docfx.json
├── index.md
└── toc.yml
├── documents
├── Bing框架.xmind
└── 数据库设计
│ ├── Bing框架设计.sws
│ └── 数据建模
│ └── 数据库设计器.pdm
├── framework.props
├── framework.tests.props
├── framework
├── Publish.bat
├── UnPublish.bat
├── src
│ ├── Bing.Aop.AspectCore
│ │ ├── Bing.Aop.AspectCore.csproj
│ │ ├── Bing
│ │ │ ├── Aspects
│ │ │ │ ├── AutowiredAttribute.cs
│ │ │ │ ├── IAopProxy.cs
│ │ │ │ ├── IgnoreAttribute.cs
│ │ │ │ ├── InterceptorBase.cs
│ │ │ │ ├── NotEmptyAttribute.cs
│ │ │ │ ├── NotNullAttribute.cs
│ │ │ │ └── ParameterInterceptorBase.cs
│ │ │ ├── DependencyInjection
│ │ │ │ └── AspectCoreExtensions.cs
│ │ │ └── Exceptions
│ │ │ │ └── Prompts
│ │ │ │ └── AspectExceptionPrompt.cs
│ │ └── global-usings.cs
│ ├── Bing.AspNetCore.Abstractions
│ │ ├── Bing.AspNetCore.Abstractions.csproj
│ │ └── Bing
│ │ │ └── AspNetCore
│ │ │ ├── Authentication
│ │ │ └── BingAspNetCoreTokenUnauthorizedErrorInfo.cs
│ │ │ └── WebClientInfo
│ │ │ ├── IWebClientInfoProvider.cs
│ │ │ └── NullWebClientInfoProvider.cs
│ ├── Bing.AspNetCore.Authentication.JwtBearer
│ │ ├── Bing.AspNetCore.Authentication.JwtBearer.csproj
│ │ ├── Bing
│ │ │ ├── AspNetCore
│ │ │ │ └── Authorization
│ │ │ │ │ ├── AuthorizeResult.cs
│ │ │ │ │ └── JwtBearer
│ │ │ │ │ ├── Extensions.Service.cs
│ │ │ │ │ ├── IJsonWebTokenAuthorizationRequirement.cs
│ │ │ │ │ ├── IJsonWebTokenCustomerAuthorizeOption.cs
│ │ │ │ │ ├── JsonWebTokenAuthorizationHandler.cs
│ │ │ │ │ ├── JsonWebTokenAuthorizationRequirement.cs
│ │ │ │ │ ├── JsonWebTokenCustomerAuthorizeMiddleware.cs
│ │ │ │ │ ├── JsonWebTokenCustomerAuthorizeOption.cs
│ │ │ │ │ └── JwtAuthorizeAttribute.cs
│ │ │ └── Identity
│ │ │ │ └── JwtBearer
│ │ │ │ ├── Abstractions
│ │ │ │ ├── IJsonWebTokenBuilder.cs
│ │ │ │ ├── IJsonWebTokenStore.cs
│ │ │ │ ├── IJsonWebTokenValidator.cs
│ │ │ │ └── ITokenPayloadStore.cs
│ │ │ │ ├── DeviceTokenBindInfo.cs
│ │ │ │ ├── GrantType.cs
│ │ │ │ ├── Internal
│ │ │ │ ├── Helper.cs
│ │ │ │ ├── JsonWebTokenBuilder.cs
│ │ │ │ ├── JsonWebTokenStore.cs
│ │ │ │ ├── JsonWebTokenValidator.cs
│ │ │ │ └── TokenPayloadStore.cs
│ │ │ │ ├── JsonWebToken.cs
│ │ │ │ ├── JsonWebTokenStoreBase.cs
│ │ │ │ ├── JwtOptions.cs
│ │ │ │ └── RefreshToken.cs
│ │ ├── Microsoft
│ │ │ └── Extensions
│ │ │ │ └── DependencyInjection
│ │ │ │ └── BingJwtBearerExtensions.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.AspNetCore.MultiTenancy
│ │ ├── Bing.AspNetCore.MultiTenancy.csproj
│ │ └── Bing
│ │ │ ├── AspNetCore
│ │ │ └── MultiTenancy
│ │ │ │ ├── BingMultiTenancyCookieHelper.cs
│ │ │ │ ├── CookieTenantResolveContributor.cs
│ │ │ │ ├── DomainTenantResolveContributor.cs
│ │ │ │ ├── DomainTenantResolverHelper.cs
│ │ │ │ ├── HeaderTenantResolveContributor.cs
│ │ │ │ ├── HttpContextTenantResolveResultAccessor.cs
│ │ │ │ ├── HttpTenantResolveContributorBase.cs
│ │ │ │ ├── MultiTenancyMiddleware.cs
│ │ │ │ ├── QueryStringTenantResolveContributor.cs
│ │ │ │ ├── RouteTenantResolveContributor.cs
│ │ │ │ └── TenantResolveContextExtensions.cs
│ │ │ └── MultiTenancy
│ │ │ └── BingTenantResolveOptionsExtensions.cs
│ ├── Bing.AspNetCore.Mvc.Contracts
│ │ ├── Bing.AspNetCore.Mvc.Contracts.csproj
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.AspNetCore.Mvc.UI
│ │ ├── Bing.AspNetCore.Mvc.UI.csproj
│ │ ├── Bing
│ │ │ └── AspNetCore
│ │ │ │ └── Mvc
│ │ │ │ └── UI
│ │ │ │ ├── Extensions
│ │ │ │ └── Extensions.ServiceCollection.cs
│ │ │ │ └── RazorPages
│ │ │ │ ├── DefaultRazorHtmlGenerator.cs
│ │ │ │ ├── IRazorHtmlGenerator.cs
│ │ │ │ ├── IRouteAnalyzer.cs
│ │ │ │ ├── RazorHtmlAttribute.cs
│ │ │ │ ├── RouteAnalyzer.cs
│ │ │ │ └── RouteInformation.cs
│ │ ├── Microsoft
│ │ │ └── AspNetCore
│ │ │ │ └── Mvc
│ │ │ │ └── BingViewResultExtensions.cs
│ │ ├── dependency.props
│ │ ├── project.dependency.props
│ │ ├── project.props
│ │ └── references.props
│ ├── Bing.AspNetCore.Mvc
│ │ ├── Bing.AspNetCore.Mvc.csproj
│ │ ├── Bing
│ │ │ ├── AspNetCore
│ │ │ │ └── Mvc
│ │ │ │ │ ├── ActionResultHelper.cs
│ │ │ │ │ ├── BingActionContextExtensions.cs
│ │ │ │ │ ├── BingMvcOptionsExtensions.cs
│ │ │ │ │ ├── ContentFormatters
│ │ │ │ │ ├── BingRemoteStreamContentModelBinder.cs
│ │ │ │ │ ├── BingRemoteStreamContentModelBinderProvider.cs
│ │ │ │ │ └── RemoteStreamContentOutputFormatter.cs
│ │ │ │ │ ├── CrudControllerBase.cs
│ │ │ │ │ ├── ExceptionHandling
│ │ │ │ │ ├── BingExceptionFilter.cs
│ │ │ │ │ └── BingExceptionPageFilter.cs
│ │ │ │ │ ├── QueryControllerBase.cs
│ │ │ │ │ ├── Validation
│ │ │ │ │ ├── IModelStateValidator.cs
│ │ │ │ │ └── ModelStateValidator.cs
│ │ │ │ │ ├── WebResource.Designer.cs
│ │ │ │ │ └── WebResource.resx
│ │ │ └── Trees
│ │ │ │ ├── TreesControllerBase.cs
│ │ │ │ └── TreesTableControllerBase.cs
│ │ ├── Microsoft
│ │ │ └── AspNetCore
│ │ │ │ └── Mvc
│ │ │ │ └── Abstractions
│ │ │ │ └── ActionDescriptorExtensions.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.AspNetCore.Serilog
│ │ ├── Bing.AspNetCore.Serilog.csproj
│ │ ├── Bing
│ │ │ └── AspNetCore
│ │ │ │ └── Serilog
│ │ │ │ ├── BingAspNetCoreSerilogOptions.cs
│ │ │ │ └── BingSerilogMiddleware.cs
│ │ ├── Microsoft
│ │ │ └── AspNetCore
│ │ │ │ └── Builder
│ │ │ │ └── BingAspNetCoreSerilogApplicationBuilderExtensions.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.AspNetCore
│ │ ├── Bing.AspNetCore.csproj
│ │ ├── Bing
│ │ │ ├── AspNetCore
│ │ │ │ ├── AspNetCoreBingModule.cs
│ │ │ │ ├── AspNetCoreModule.cs
│ │ │ │ ├── BingAspNetCoreConst.cs
│ │ │ │ ├── BingAspNetCoreOptions.cs
│ │ │ │ ├── Cors
│ │ │ │ │ └── AllowCorsRequestMiddleware.cs
│ │ │ │ ├── DependencyInjection
│ │ │ │ │ └── HttpContextServiceScopeFactory.cs
│ │ │ │ ├── ExceptionHandling
│ │ │ │ │ ├── BingAuthorizationExceptionHandlerOptions.cs
│ │ │ │ │ ├── BingExceptionHandlingMiddleware.cs
│ │ │ │ │ ├── BingExceptionHttpStatusCodeOptions.cs
│ │ │ │ │ ├── DefaultBingAuthorizationExceptionHandler.cs
│ │ │ │ │ ├── DefaultHttpExceptionStatusCodeFinder.cs
│ │ │ │ │ ├── IBingAuthorizationExceptionHandler.cs
│ │ │ │ │ └── IHttpExceptionStatusCodeFinder.cs
│ │ │ │ ├── Extensions
│ │ │ │ │ ├── Extensions.ApplicationBuilder.cs
│ │ │ │ │ └── Extensions.ServiceCollection.cs
│ │ │ │ ├── Filters
│ │ │ │ │ └── IBingFilter.cs
│ │ │ │ ├── IMiddleware.cs
│ │ │ │ ├── Logs
│ │ │ │ │ ├── AspNetCoreLogContextAccessor.cs
│ │ │ │ │ ├── DefaultRequestResponseLogCreator.cs
│ │ │ │ │ ├── DefaultRequestResponseLogger.cs
│ │ │ │ │ ├── IRequestResponseLogCreator.cs
│ │ │ │ │ ├── IRequestResponseLogger.cs
│ │ │ │ │ ├── RequestResponseLog.cs
│ │ │ │ │ ├── RequestResponseLoggerActionFilter.cs
│ │ │ │ │ ├── RequestResponseLoggerErrorFilter.cs
│ │ │ │ │ ├── RequestResponseLoggerMiddleware.cs
│ │ │ │ │ └── RequestResponseLoggerOptions.cs
│ │ │ │ ├── Middleware
│ │ │ │ │ └── BingMiddlewareBase.cs
│ │ │ │ ├── Mvc
│ │ │ │ │ ├── AnonymousApiController.cs
│ │ │ │ │ ├── ApiControllerBase.cs
│ │ │ │ │ ├── ApiResult.cs
│ │ │ │ │ ├── AreaApiControllerBase.cs
│ │ │ │ │ ├── BingControllerBase.cs
│ │ │ │ │ ├── Filters
│ │ │ │ │ │ ├── AntiDuplicateRequestAttribute.cs
│ │ │ │ │ │ ├── ErrorLogAttribute.cs
│ │ │ │ │ │ ├── ExceptionHandlerAttribute.cs
│ │ │ │ │ │ ├── IgnoreResultHandlerAttribute.cs
│ │ │ │ │ │ ├── NoCacheAttribute.cs
│ │ │ │ │ │ ├── ResultHandlerAttribute.cs
│ │ │ │ │ │ └── ValidationModelAttribute.cs
│ │ │ │ │ ├── IResultFactory.cs
│ │ │ │ │ ├── ModelBinding
│ │ │ │ │ │ ├── StringTrimModelBinder.cs
│ │ │ │ │ │ └── StringTrimModelBinderProvider.cs
│ │ │ │ │ ├── MvcMethodInfoFinder.cs
│ │ │ │ │ ├── NullJsonResult.cs
│ │ │ │ │ ├── StatusCode.cs
│ │ │ │ │ └── ValidationFailedResult.cs
│ │ │ │ ├── RealIp
│ │ │ │ │ └── RealIpMiddleware.cs
│ │ │ │ ├── RequestScopedServiceResolver.cs
│ │ │ │ ├── Security
│ │ │ │ │ ├── AdminSafeListMiddleware.cs
│ │ │ │ │ └── Claims
│ │ │ │ │ │ ├── BingClaimsMapMiddleware.cs
│ │ │ │ │ │ ├── BingClaimsMapOptions.cs
│ │ │ │ │ │ └── HttpContextCurrentPrincipalAccessor.cs
│ │ │ │ ├── SecurityLog
│ │ │ │ │ └── AspNetCoreSecurityLogManager.cs
│ │ │ │ ├── ServiceProviderExtensions.cs
│ │ │ │ ├── Threading
│ │ │ │ │ └── HttpContextCancellationTokenProvider.cs
│ │ │ │ ├── Tracing
│ │ │ │ │ └── BingCorrelationIdMiddleware.cs
│ │ │ │ └── WebClientInfo
│ │ │ │ │ └── HttpContextWebClientInfoProvider.cs
│ │ │ ├── Http
│ │ │ │ ├── BingHttpConst.cs
│ │ │ │ └── MimeTypes.cs
│ │ │ └── ServiceProviderAccessorExtensions.cs
│ │ ├── Microsoft
│ │ │ ├── AspNetCore
│ │ │ │ ├── Builder
│ │ │ │ │ └── BingApplicationBuilderExtensions.cs
│ │ │ │ ├── Http
│ │ │ │ │ ├── BingActionContextExtensions.cs
│ │ │ │ │ ├── BingFormFileExtensions.cs
│ │ │ │ │ ├── BingHttpContextExtensions.cs
│ │ │ │ │ └── BingHttpRequestExtensions.cs
│ │ │ │ └── Mvc
│ │ │ │ │ ├── Abstractions
│ │ │ │ │ └── ActionDescriptorExtensions.cs
│ │ │ │ │ └── ModelBinding
│ │ │ │ │ └── Metadata
│ │ │ │ │ ├── MvcModelBindingResource.Designer.cs
│ │ │ │ │ ├── MvcModelBindingResource.resx
│ │ │ │ │ └── ResourceModelBindingMessageProviderExtensions.cs
│ │ │ └── Extensions
│ │ │ │ └── DependencyInjection
│ │ │ │ ├── BingAspNetCoreServiceCollectionExtensions.cs
│ │ │ │ └── EmptyHostingEnvironment.cs
│ │ ├── Mvc
│ │ │ ├── DefaultApiInterfaceService.cs
│ │ │ ├── IApiInterfaceService.cs
│ │ │ └── Models
│ │ │ │ ├── ActionDescriptor.cs
│ │ │ │ └── ControllerDescriptor.cs
│ │ ├── Uploads
│ │ │ ├── DefaultFileUploadService.cs
│ │ │ ├── IFileUploadService.cs
│ │ │ └── Params
│ │ │ │ ├── MultipleFileUploadParam.cs
│ │ │ │ └── SingleFileUploadParam.cs
│ │ └── dependency.props
│ ├── Bing.Auditing.Contracts
│ │ ├── Bing.Auditing.Contracts.csproj
│ │ ├── Bing
│ │ │ └── Auditing
│ │ │ │ ├── EntityChangeType.cs
│ │ │ │ ├── IAuditedObject.cs
│ │ │ │ ├── IAuditedObjectWithName.cs
│ │ │ │ ├── ICreationAuditedObject.cs
│ │ │ │ ├── ICreationAuditedObjectWithName.cs
│ │ │ │ ├── IDeletionAuditedObject.cs
│ │ │ │ ├── IDeletionAuditedObjectWithName.cs
│ │ │ │ ├── IFullAuditedObject.cs
│ │ │ │ ├── IFullAuditedObjectWithName.cs
│ │ │ │ ├── IHasCreationTime.cs
│ │ │ │ ├── IHasCreator.cs
│ │ │ │ ├── IHasDeleter.cs
│ │ │ │ ├── IHasDeletionTime.cs
│ │ │ │ ├── IHasModificationTime.cs
│ │ │ │ ├── IHasModifier.cs
│ │ │ │ ├── IModificationAuditedObject.cs
│ │ │ │ └── IModificationAuditedObjectWithName.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.Auditing
│ │ ├── Bing.Auditing.csproj
│ │ ├── Bing
│ │ │ └── Auditing
│ │ │ │ ├── AuditLogActionInfo.cs
│ │ │ │ ├── AuditLogContributionContext.cs
│ │ │ │ ├── AuditLogContributor.cs
│ │ │ │ ├── AuditLogInfo.cs
│ │ │ │ ├── AuditLogScope.cs
│ │ │ │ ├── AuditPropertySetter.cs
│ │ │ │ ├── AuditedPropertyConst.cs
│ │ │ │ ├── CreationAuditedInitializer.cs
│ │ │ │ ├── DeletionAuditedInitializer.cs
│ │ │ │ ├── DisableAuditingAttribute.cs
│ │ │ │ ├── EntityChangeInfo.cs
│ │ │ │ ├── EntityPropertyChangeInfo.cs
│ │ │ │ ├── IAuditLogSaveHandle.cs
│ │ │ │ ├── IAuditLogScope.cs
│ │ │ │ ├── IAuditPropertySetter.cs
│ │ │ │ ├── IAuditSerializer.cs
│ │ │ │ ├── IAuditingEnabled.cs
│ │ │ │ ├── IAuditingManager.cs
│ │ │ │ ├── IAuditingStore.cs
│ │ │ │ ├── ModificationAuditedInitializer.cs
│ │ │ │ └── SimpleLogAuditingStore.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.Authorization.Abstractions
│ │ ├── Bing.Authorization.Abstractions.csproj
│ │ ├── Bing
│ │ │ └── Authorization
│ │ │ │ └── Functions
│ │ │ │ ├── FunctionAccessType.cs
│ │ │ │ ├── IFunction.cs
│ │ │ │ └── IFunctionHandler.cs
│ │ └── dependency.props
│ ├── Bing.AutoMapper
│ │ ├── Bing.AutoMapper.csproj
│ │ └── Bing
│ │ │ └── AutoMapper
│ │ │ ├── AutoMapperObjectMapper.cs
│ │ │ └── Extensions.Service.cs
│ ├── Bing.Caching.CSRedis
│ │ ├── Bing.Caching.CSRedis.csproj
│ │ └── Bing
│ │ │ └── Caching
│ │ │ └── CSRedis
│ │ │ └── CSRedisCacheManager.cs
│ ├── Bing.Caching.FreeRedis
│ │ ├── Bing.Caching.FreeRedis.csproj
│ │ └── Bing
│ │ │ └── Caching
│ │ │ └── FreeRedis
│ │ │ └── FreeRedisCacheManager.cs
│ ├── Bing.Caching
│ │ ├── Bing.Caching.csproj
│ │ └── Bing
│ │ │ └── Caching
│ │ │ ├── CacheKey.cs
│ │ │ ├── CacheKeyExtensions.cs
│ │ │ ├── CacheNameAttribute.cs
│ │ │ ├── CacheOptions.cs
│ │ │ ├── ICache.Async.cs
│ │ │ ├── ICache.cs
│ │ │ ├── ICacheKeyGenerator.cs
│ │ │ ├── ILocalCache.cs
│ │ │ ├── IRedisCache.cs
│ │ │ └── NullCache.cs
│ ├── Bing.Core
│ │ ├── Bing.Core.csproj
│ │ ├── Bing
│ │ │ ├── Aspects
│ │ │ │ └── IgnoreAspectAttribute.cs
│ │ │ ├── BingException.cs
│ │ │ ├── BingFrameworkException.cs
│ │ │ ├── BingLoader.cs
│ │ │ ├── BusinessException.cs
│ │ │ ├── Caching
│ │ │ │ ├── CacheAttribute.cs
│ │ │ │ ├── CacheType.cs
│ │ │ │ ├── IListCache.cs
│ │ │ │ ├── ISingleTypeCache.cs
│ │ │ │ ├── InMemory
│ │ │ │ │ ├── CacheItem.cs
│ │ │ │ │ ├── InMemoryCacheManager.Async.cs
│ │ │ │ │ └── InMemoryCacheManager.cs
│ │ │ │ ├── Internal
│ │ │ │ │ └── Helper.cs
│ │ │ │ ├── ListLocalMemoryBase.cs
│ │ │ │ └── SingleTypeLocalMemoryBase.cs
│ │ │ ├── Collections
│ │ │ │ ├── ITypeList.cs
│ │ │ │ └── TypeList.cs
│ │ │ ├── Configuration
│ │ │ │ ├── BingConfig.cs
│ │ │ │ ├── Extensions.ServiceCollection.cs
│ │ │ │ └── OptionsTypeAttribute.cs
│ │ │ ├── Content
│ │ │ │ ├── IRemoteStreamContent.cs
│ │ │ │ └── RemoteStreamContent.cs
│ │ │ ├── Core
│ │ │ │ ├── Builders
│ │ │ │ │ ├── BingBuilder.cs
│ │ │ │ │ ├── BingBuilderExtensions.cs
│ │ │ │ │ └── IBingBuilder.cs
│ │ │ │ ├── Data
│ │ │ │ │ ├── DataHandler.cs
│ │ │ │ │ ├── IGetObject.cs
│ │ │ │ │ ├── IGetable.cs
│ │ │ │ │ ├── IReader.cs
│ │ │ │ │ ├── IReaderAll.cs
│ │ │ │ │ └── IReaderDictionary.cs
│ │ │ │ ├── Enums
│ │ │ │ │ └── EnvironmentType.cs
│ │ │ │ └── Modularity
│ │ │ │ │ ├── BingCoreModule.cs
│ │ │ │ │ ├── BingModule.cs
│ │ │ │ │ ├── BingModuleHelper.cs
│ │ │ │ │ ├── BingModuleTypeFinder.cs
│ │ │ │ │ ├── DependsOnModuleAttribute.cs
│ │ │ │ │ ├── IBingModule.cs
│ │ │ │ │ ├── IBingModuleTypeFinder.cs
│ │ │ │ │ ├── IDependedTypesProvider.cs
│ │ │ │ │ └── ModuleLevel.cs
│ │ │ ├── Data
│ │ │ │ ├── IDataKey.cs
│ │ │ │ └── ISoftDelete.cs
│ │ │ ├── DependencyInjection
│ │ │ │ ├── CachedServiceProvider.cs
│ │ │ │ ├── CachedServiceProviderBase.cs
│ │ │ │ ├── ConventionalRegistrarBase.cs
│ │ │ │ ├── DefaultServiceScopeFactory.cs
│ │ │ │ ├── DependencyAttribute.cs
│ │ │ │ ├── DependencyModule.cs
│ │ │ │ ├── DependencyTypeFinder.cs
│ │ │ │ ├── ICachedServiceProvider.cs
│ │ │ │ ├── ICachedServiceProviderBase.cs
│ │ │ │ ├── IConventionalRegistrar.cs
│ │ │ │ ├── IDependencyTypeFinder.cs
│ │ │ │ ├── IHybridServiceScopeFactory.cs
│ │ │ │ ├── ILazyServiceProvider.cs
│ │ │ │ ├── IObjectAccessor.cs
│ │ │ │ ├── IScopedDependency.cs
│ │ │ │ ├── IScopedServiceResolver.cs
│ │ │ │ ├── IServiceProviderAccessor.cs
│ │ │ │ ├── ISingletonDependency.cs
│ │ │ │ ├── ITransientCachedServiceProvider.cs
│ │ │ │ ├── ITransientDependency.cs
│ │ │ │ ├── IgnoreDependencyAttribute.cs
│ │ │ │ ├── Lazier.cs
│ │ │ │ ├── LazyServiceProvider.cs
│ │ │ │ ├── MultipleDependencyAttribute.cs
│ │ │ │ ├── ObjectAccessor.cs
│ │ │ │ ├── ScopedDictionary.cs
│ │ │ │ ├── ScopedDictionaryExtensions.cs
│ │ │ │ ├── ServiceCollectionObjectAccessorExtension.cs
│ │ │ │ ├── ServiceLocator.cs
│ │ │ │ └── TransientCachedServiceProvider.cs
│ │ │ ├── DisableBingFeaturesAttribute.cs
│ │ │ ├── Enumeration.cs
│ │ │ ├── Events
│ │ │ │ ├── Event.cs
│ │ │ │ ├── EventNameAttribute.cs
│ │ │ │ ├── GenericEventNameAttribute.cs
│ │ │ │ ├── IEvent.cs
│ │ │ │ ├── IEventNameProvider.cs
│ │ │ │ └── IEventSession.cs
│ │ │ ├── ExceptionHandling
│ │ │ │ ├── ExceptionNotificationContext.cs
│ │ │ │ ├── ExceptionNotifier.cs
│ │ │ │ ├── ExceptionNotifierExtensions.cs
│ │ │ │ ├── ExceptionSubscriber.cs
│ │ │ │ ├── IExceptionNotifier.cs
│ │ │ │ ├── IExceptionSubscriber.cs
│ │ │ │ ├── IHasErrorCode.cs
│ │ │ │ ├── IHasErrorDetails.cs
│ │ │ │ ├── IHasHttpStatusCode.cs
│ │ │ │ ├── ILocalizeErrorMessage.cs
│ │ │ │ └── NullExceptionNotifier.cs
│ │ │ ├── Exceptions
│ │ │ │ ├── BingExceptionOptions.cs
│ │ │ │ ├── ConcurrencyException.cs
│ │ │ │ ├── Prompts
│ │ │ │ │ ├── ExceptionPrompt.cs
│ │ │ │ │ └── IExceptionPrompt.cs
│ │ │ │ └── Warning.cs
│ │ │ ├── Extensions
│ │ │ │ └── ExceptionExtensions.cs
│ │ │ ├── Finders
│ │ │ │ ├── FinderBase.cs
│ │ │ │ └── IFinder.cs
│ │ │ ├── IBusinessException.cs
│ │ │ ├── IUserFriendlyException.cs
│ │ │ ├── Internal
│ │ │ │ └── InternalServiceCollectionExtensions.cs
│ │ │ ├── Linq
│ │ │ │ ├── AsyncQueryableExecuter.cs
│ │ │ │ ├── IAsyncQueryableExecuter.cs
│ │ │ │ └── IAsyncQueryableProvider.cs
│ │ │ ├── Localization
│ │ │ │ └── LocalizationContext.cs
│ │ │ ├── Locks
│ │ │ │ ├── Extensions.Service.cs
│ │ │ │ ├── IDistributedLock.cs
│ │ │ │ ├── ILock.cs
│ │ │ │ ├── LocalLock.cs
│ │ │ │ └── LockExtensions.cs
│ │ │ ├── Logging
│ │ │ │ ├── BingInitLogEntry.cs
│ │ │ │ ├── DefaultInitLogger.cs
│ │ │ │ ├── DefaultInitLoggerFactory.cs
│ │ │ │ ├── HasLogLevelExtensions.cs
│ │ │ │ ├── IExceptionWithSelfLogging.cs
│ │ │ │ ├── IHasLogLevel.cs
│ │ │ │ ├── IInitLogger.cs
│ │ │ │ ├── IInitLoggerFactory.cs
│ │ │ │ └── StartupLogger.cs
│ │ │ ├── Monitoring
│ │ │ │ └── Health
│ │ │ │ │ ├── BusHealthResult.cs
│ │ │ │ │ ├── BusHealthStatus.cs
│ │ │ │ │ └── IBusHealth.cs
│ │ │ ├── Options
│ │ │ │ ├── BingOptions.cs
│ │ │ │ ├── BingOptionsBase.cs
│ │ │ │ ├── IBingOptions.cs
│ │ │ │ └── IBingOptionsExtension.cs
│ │ │ ├── Reflection
│ │ │ │ ├── AppDomainAllAssemblyFinder.cs
│ │ │ │ ├── AssemblyHelper.cs
│ │ │ │ ├── AssemblyManager.cs
│ │ │ │ ├── AttributeTypeFinderBase.cs
│ │ │ │ ├── BaseTypeFinderBase.cs
│ │ │ │ ├── DirectoryAssemblyFinder.cs
│ │ │ │ ├── IAllAssemblyFinder.cs
│ │ │ │ ├── IAssemblyFinder.cs
│ │ │ │ ├── IMethodInfoFinder.cs
│ │ │ │ ├── ITypeFinder.cs
│ │ │ │ └── PublicInstanceMethodInfoFinder.cs
│ │ │ ├── Threading
│ │ │ │ ├── AmbientDataContextAmbientScopeProvider.cs
│ │ │ │ ├── AsyncLocalAmbientDataContext.cs
│ │ │ │ ├── AsyncLocalExtensions.cs
│ │ │ │ ├── CallContext.cs
│ │ │ │ ├── CancellationTokenOverride.cs
│ │ │ │ ├── CancellationTokenProviderBase.cs
│ │ │ │ ├── CancellationTokenProviderExtensions.cs
│ │ │ │ ├── IAmbientDataContext.cs
│ │ │ │ ├── IAmbientScopeProvider.cs
│ │ │ │ ├── ICancellationTokenProvider.cs
│ │ │ │ └── NoneCancellationTokenProvider.cs
│ │ │ ├── Tracing
│ │ │ │ ├── CorrelationIdOptions.cs
│ │ │ │ ├── DefaultCorrelationIdProvider.cs
│ │ │ │ ├── ICorrelationIdProvider.cs
│ │ │ │ ├── IHasTraceId.cs
│ │ │ │ └── TraceIdContext.cs
│ │ │ ├── Trees
│ │ │ │ ├── LoadMode.cs
│ │ │ │ └── LoadOperation.cs
│ │ │ └── UserFriendlyException.cs
│ │ ├── Events
│ │ │ ├── Handlers
│ │ │ │ ├── IEventHandler.cs
│ │ │ │ └── IEventHandlerManager.cs
│ │ │ ├── IEventBus.cs
│ │ │ ├── ISimpleEventBus.cs
│ │ │ └── Messages
│ │ │ │ ├── IMessageEvent.cs
│ │ │ │ ├── IMessageEventBus.cs
│ │ │ │ └── MessageEvent.cs
│ │ ├── Microsoft
│ │ │ └── Extensions
│ │ │ │ ├── DependencyInjection
│ │ │ │ ├── BingServiceProviderExtensions.cs
│ │ │ │ ├── ServiceCollectionApplicationExtensions.cs
│ │ │ │ ├── ServiceCollectionCommonExtensions.cs
│ │ │ │ ├── ServiceCollectionConfigurationExtensions.cs
│ │ │ │ ├── ServiceCollectionLoggerExtensions.cs
│ │ │ │ └── ServiceCollectionObjectAccessorExtensions.cs
│ │ │ │ └── Logging
│ │ │ │ └── BingLoggerExtensions.cs
│ │ ├── Properties
│ │ │ ├── LibraryResource.Designer.cs
│ │ │ ├── LibraryResource.resx
│ │ │ ├── R.Designer.cs
│ │ │ └── R.resx
│ │ ├── System
│ │ │ ├── BingExceptionExtensions.cs
│ │ │ └── Disposable.cs
│ │ └── global-usings.cs
│ ├── Bing.Dapper.Core
│ │ ├── Bing.Dapper.Core.csproj
│ │ ├── Bing
│ │ │ └── Data
│ │ │ │ └── Sql
│ │ │ │ ├── DapperServiceCollectionExtensions.cs
│ │ │ │ ├── SqlExecutorBase.cs
│ │ │ │ ├── SqlOptionsExtensions.cs
│ │ │ │ ├── SqlQueryBase.Diagnostics.cs
│ │ │ │ ├── SqlQueryBase.Execute.cs
│ │ │ │ ├── SqlQueryBase.ExecuteProcedureQuery.cs
│ │ │ │ ├── SqlQueryBase.ExecuteQuery.cs
│ │ │ │ ├── SqlQueryBase.Hook.cs
│ │ │ │ ├── SqlQueryBase.Transaction.cs
│ │ │ │ └── SqlQueryBase.cs
│ │ ├── Dapper
│ │ │ └── Handlers
│ │ │ │ ├── GuidTypeHandler.cs
│ │ │ │ └── StringTypeHandler.cs
│ │ ├── dependency.props
│ │ ├── global-usings.cs
│ │ └── references.props
│ ├── Bing.Dapper.MySql
│ │ ├── Bing.Dapper.MySql.csproj
│ │ └── Bing
│ │ │ └── Data
│ │ │ ├── Metadata
│ │ │ └── MySqlTypeConverter.cs
│ │ │ └── Sql
│ │ │ ├── Builders
│ │ │ ├── Clauses
│ │ │ │ ├── MySqlFromClause.cs
│ │ │ │ └── MySqlJoinClause.cs
│ │ │ ├── MySqlBuilder.cs
│ │ │ └── MySqlDialect.cs
│ │ │ ├── DapperServiceCollectionExtensions.cs
│ │ │ ├── MySqlDatabaseFactory.cs
│ │ │ ├── MySqlExecutor.cs
│ │ │ ├── MySqlExecutorBase.cs
│ │ │ ├── MySqlQuery.cs
│ │ │ └── MySqlQueryBase.cs
│ ├── Bing.Dapper.Oracle
│ │ ├── Bing.Dapper.Oracle.csproj
│ │ └── Bing
│ │ │ └── Data
│ │ │ ├── Metadata
│ │ │ └── OracleTypeConverter.cs
│ │ │ └── Sql
│ │ │ ├── Builders
│ │ │ ├── Clauses
│ │ │ │ ├── OracleFromClause.cs
│ │ │ │ └── OracleJoinClause.cs
│ │ │ ├── OracleBuilder.cs
│ │ │ └── OracleDialect.cs
│ │ │ ├── DapperServiceCollectionExtensions.cs
│ │ │ ├── OracleDatabaseFactory.cs
│ │ │ ├── OracleSqlExecutor.cs
│ │ │ ├── OracleSqlExecutorBase.cs
│ │ │ ├── OracleSqlQuery.cs
│ │ │ └── OracleSqlQueryBase.cs
│ ├── Bing.Dapper.PostgreSql
│ │ ├── Bing.Dapper.PostgreSql.csproj
│ │ └── Bing
│ │ │ └── Data
│ │ │ ├── Metadata
│ │ │ └── PostgreSqlTypeConverter.cs
│ │ │ └── Sql
│ │ │ ├── Builders
│ │ │ ├── PostgreSqlBuilder.cs
│ │ │ ├── PostgreSqlDialect.cs
│ │ │ └── PostgreSqlParamLiteralsResolver.cs
│ │ │ ├── DapperServiceCollectionExtensions.cs
│ │ │ ├── PostgreSqlDatabaseFactory.cs
│ │ │ ├── PostgreSqlExecutor.cs
│ │ │ ├── PostgreSqlExecutorBase.cs
│ │ │ ├── PostgreSqlQuery.cs
│ │ │ └── PostgreSqlQueryBase.cs
│ ├── Bing.Dapper.SqlServer
│ │ ├── Bing.Dapper.SqlServer.csproj
│ │ └── Bing
│ │ │ └── Data
│ │ │ ├── Metadata
│ │ │ └── SqlServerTypeConverter.cs
│ │ │ └── Sql
│ │ │ ├── Builders
│ │ │ ├── SqlServerBuilder.cs
│ │ │ └── SqlServerDialect.cs
│ │ │ ├── DapperServiceCollectionExtensions.cs
│ │ │ ├── SqlServerDatabaseFactory.cs
│ │ │ ├── SqlServerSqlExecutor.cs
│ │ │ ├── SqlServerSqlExecutorBase.cs
│ │ │ ├── SqlServerSqlQuery.cs
│ │ │ └── SqlServerSqlQueryBase.cs
│ ├── Bing.Dapper.Sqlite
│ │ ├── Bing.Dapper.Sqlite.csproj
│ │ └── Bing
│ │ │ └── Data
│ │ │ ├── Metadata
│ │ │ └── SqliteTypeConverter.cs
│ │ │ └── Sql
│ │ │ ├── Builders
│ │ │ ├── Clauses
│ │ │ │ ├── SqliteFromClause.cs
│ │ │ │ └── SqliteJoinClause.cs
│ │ │ ├── SqliteBuilder.cs
│ │ │ └── SqliteDialect.cs
│ │ │ ├── DapperServiceCollectionExtensions.cs
│ │ │ ├── SqliteDatabaseFactory.cs
│ │ │ ├── SqliteSqlExecutor.cs
│ │ │ ├── SqliteSqlExecutorBase.cs
│ │ │ ├── SqliteSqlQuery.cs
│ │ │ └── SqliteSqlQueryBase.cs
│ ├── Bing.Data.Sql
│ │ ├── Bing.Data.Sql.csproj
│ │ ├── Bing
│ │ │ └── Data
│ │ │ │ └── Sql
│ │ │ │ ├── Builders
│ │ │ │ ├── Clauses
│ │ │ │ │ ├── FromClause.cs
│ │ │ │ │ ├── GroupByClause.cs
│ │ │ │ │ ├── ISqlClause.cs
│ │ │ │ │ ├── JoinClause.cs
│ │ │ │ │ ├── OrderByClause.cs
│ │ │ │ │ ├── SelectClause.cs
│ │ │ │ │ └── WhereClause.cs
│ │ │ │ ├── Conditions
│ │ │ │ │ ├── AndCondition.cs
│ │ │ │ │ ├── EqualCondition.cs
│ │ │ │ │ ├── EqualSqlCondition.cs
│ │ │ │ │ ├── GreaterCondition.cs
│ │ │ │ │ ├── GreaterEqualCondition.cs
│ │ │ │ │ ├── InCondition.cs
│ │ │ │ │ ├── IsNotNullCondition.cs
│ │ │ │ │ ├── IsNullCondition.cs
│ │ │ │ │ ├── IsNullSqlCondition.cs
│ │ │ │ │ ├── LessCondition.cs
│ │ │ │ │ ├── LessEqualCondition.cs
│ │ │ │ │ ├── LikeCondition.cs
│ │ │ │ │ ├── NotEqualCondition.cs
│ │ │ │ │ ├── NotInCondition.cs
│ │ │ │ │ ├── NullCondition.cs
│ │ │ │ │ ├── OrCondition.cs
│ │ │ │ │ ├── SegmentCondition.cs
│ │ │ │ │ ├── SqlCondition.cs
│ │ │ │ │ ├── SqlConditionBase.cs
│ │ │ │ │ └── SqlConditionFactory.cs
│ │ │ │ ├── Core
│ │ │ │ │ ├── BuilderItem.cs
│ │ │ │ │ ├── ColumnCollection.cs
│ │ │ │ │ ├── ColumnItem.cs
│ │ │ │ │ ├── DialectBase.cs
│ │ │ │ │ ├── EntityAliasRegister.cs
│ │ │ │ │ ├── EntityResolver.cs
│ │ │ │ │ ├── JoinItem.cs
│ │ │ │ │ ├── NameItem.cs
│ │ │ │ │ ├── OnItem.cs
│ │ │ │ │ ├── OrderByItem.cs
│ │ │ │ │ ├── PredicateExpressionResolver.cs
│ │ │ │ │ ├── SqlBuilderBase.cs
│ │ │ │ │ ├── SqlContext.cs
│ │ │ │ │ └── SqlItem.cs
│ │ │ │ ├── Extensions
│ │ │ │ │ ├── DialectExtensions.cs
│ │ │ │ │ └── EntityResolverExtensions.cs
│ │ │ │ ├── Filters
│ │ │ │ │ ├── IsDeletedFilter.cs
│ │ │ │ │ └── SqlFilterCollection.cs
│ │ │ │ ├── ICondition.cs
│ │ │ │ ├── ICte.cs
│ │ │ │ ├── ICteAccessor.cs
│ │ │ │ ├── IDialect.cs
│ │ │ │ ├── IEntityAliasRegister.cs
│ │ │ │ ├── IEntityResolver.cs
│ │ │ │ ├── IFrom.cs
│ │ │ │ ├── IFromClause.cs
│ │ │ │ ├── IGroupBy.cs
│ │ │ │ ├── IGroupByClause.cs
│ │ │ │ ├── IJoin.cs
│ │ │ │ ├── IJoinClause.cs
│ │ │ │ ├── IJoinOn.cs
│ │ │ │ ├── IOrderBy.cs
│ │ │ │ ├── IOrderByClause.cs
│ │ │ │ ├── ISelect.cs
│ │ │ │ ├── ISelectClause.cs
│ │ │ │ ├── ISqlContent.cs
│ │ │ │ ├── ISqlFilter.cs
│ │ │ │ ├── ISqlPartAccessor.cs
│ │ │ │ ├── IUnion.cs
│ │ │ │ ├── IUnionAccessor.cs
│ │ │ │ ├── IWhere.cs
│ │ │ │ ├── IWhereClause.cs
│ │ │ │ ├── Internal
│ │ │ │ │ └── Helper.cs
│ │ │ │ ├── Operations
│ │ │ │ │ ├── IInsert.cs
│ │ │ │ │ ├── ISqlOperation.cs
│ │ │ │ │ ├── ISqlParameter.cs
│ │ │ │ │ └── ISqlQueryOperation.cs
│ │ │ │ └── Params
│ │ │ │ │ ├── IClearParameters.cs
│ │ │ │ │ ├── IGetParameter.cs
│ │ │ │ │ ├── IParamLiteralsResolver.cs
│ │ │ │ │ ├── IParameterManager.cs
│ │ │ │ │ ├── ParamLiteralsResolver.cs
│ │ │ │ │ ├── ParameterManager.cs
│ │ │ │ │ └── SqlParam.cs
│ │ │ │ ├── Configs
│ │ │ │ └── ISqlOptions.cs
│ │ │ │ ├── Database
│ │ │ │ ├── IDbConnectionManager.cs
│ │ │ │ └── IDbTransactionManager.cs
│ │ │ │ ├── Diagnostics
│ │ │ │ ├── DiagnosticsMessage.cs
│ │ │ │ └── SqlQueryDiagnosticListenerNames.cs
│ │ │ │ ├── Extensions
│ │ │ │ ├── Extensions.ICte.cs
│ │ │ │ ├── Extensions.IFrom.cs
│ │ │ │ ├── Extensions.IGroupBy.cs
│ │ │ │ ├── Extensions.IJoin.cs
│ │ │ │ ├── Extensions.IOrderBy.cs
│ │ │ │ ├── Extensions.ISelect.cs
│ │ │ │ ├── Extensions.ISqlBuilder.cs
│ │ │ │ ├── Extensions.ISqlQuery.Other.cs
│ │ │ │ ├── Extensions.ISqlQuery.Sql.cs
│ │ │ │ ├── Extensions.IUnion.cs
│ │ │ │ ├── Extensions.IWhere.cs
│ │ │ │ ├── SelectClauseExtensions.cs
│ │ │ │ ├── SqlParameterExtensions.cs
│ │ │ │ ├── SqlQueryExtensions.Query.cs
│ │ │ │ ├── SqlQueryExtensions.Scalar.cs
│ │ │ │ ├── SqlQueryExtensions.cs
│ │ │ │ └── WhereClauseExtensions.cs
│ │ │ │ ├── ISqlBuilder.cs
│ │ │ │ ├── ISqlCondition.cs
│ │ │ │ ├── ISqlExecutor.cs
│ │ │ │ ├── ISqlQuery.Execute.cs
│ │ │ │ ├── ISqlQuery.ExecuteProcedureQuery.cs
│ │ │ │ ├── ISqlQuery.ExecuteProcedureQueryAsync.cs
│ │ │ │ ├── ISqlQuery.ExecuteQuery.cs
│ │ │ │ ├── ISqlQuery.ExecuteQueryAsync.cs
│ │ │ │ ├── ISqlQuery.cs
│ │ │ │ ├── Metadata
│ │ │ │ ├── DefaultEntityMetadata.cs
│ │ │ │ ├── DefaultTableDatabase.cs
│ │ │ │ ├── IEntityMetadata.cs
│ │ │ │ └── ITableDatabase.cs
│ │ │ │ └── SqlOptionsExtensions.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.Data
│ │ ├── Bing.Data.csproj
│ │ └── Bing
│ │ │ ├── Data
│ │ │ ├── Attributes
│ │ │ │ ├── DecimalPrecisionAttribute.cs
│ │ │ │ └── HasMaxLengthAttribute.cs
│ │ │ ├── ConnectionStringCollection.cs
│ │ │ ├── DataConfig.cs
│ │ │ ├── DataLogLevel.cs
│ │ │ ├── DefaultDatabase.cs
│ │ │ ├── Enums
│ │ │ │ └── DatabaseType.cs
│ │ │ ├── Filters
│ │ │ │ ├── IFilter.cs
│ │ │ │ ├── IFilterManager.cs
│ │ │ │ ├── IFilterOperation.cs
│ │ │ │ └── IFilterSwitch.cs
│ │ │ ├── ICondition.cs
│ │ │ ├── IDatabase.cs
│ │ │ ├── IDatabaseFactory.cs
│ │ │ ├── IPager.cs
│ │ │ ├── IPagerBase.cs
│ │ │ ├── ISeedDataInitializer.cs
│ │ │ ├── Metadata
│ │ │ │ └── ITypeConverter.cs
│ │ │ ├── ObjectExtending
│ │ │ │ ├── ExtraProperty.cs
│ │ │ │ ├── ExtraPropertyDictionary.cs
│ │ │ │ ├── ExtraPropertyDictionaryExtensions.cs
│ │ │ │ └── IHasExtraProperties.cs
│ │ │ ├── Pager.cs
│ │ │ ├── PagerList.cs
│ │ │ ├── Queries
│ │ │ │ ├── Boundary.cs
│ │ │ │ ├── Conditions
│ │ │ │ │ ├── AndCondition.cs
│ │ │ │ │ ├── DateSegmentCondition.cs
│ │ │ │ │ ├── DateTimeSegmentCondition.cs
│ │ │ │ │ ├── DecimalSegmentCondition.cs
│ │ │ │ │ ├── DefaultCondition.cs
│ │ │ │ │ ├── DoubleSegmentCondition.cs
│ │ │ │ │ ├── IntSegmentCondition.cs
│ │ │ │ │ ├── OrCondition.cs
│ │ │ │ │ ├── OrIfNotEmptyCondition.cs
│ │ │ │ │ ├── SegmentConditionBase.cs
│ │ │ │ │ ├── TreeCondition.cs
│ │ │ │ │ └── WhereIfNotEmptyCondition.cs
│ │ │ │ ├── IQuery.cs
│ │ │ │ ├── IQueryBase.cs
│ │ │ │ ├── IQueryParameter.cs
│ │ │ │ ├── ITrack.cs
│ │ │ │ ├── Internal
│ │ │ │ │ └── Helper.cs
│ │ │ │ ├── OrderByBuilder.cs
│ │ │ │ ├── OrderByItem.cs
│ │ │ │ ├── Query.cs
│ │ │ │ └── QueryParameter.cs
│ │ │ ├── SqlOptions.cs
│ │ │ └── Transaction
│ │ │ │ ├── ITransactionActionManager.cs
│ │ │ │ └── TransactionActionManager.cs
│ │ │ ├── Extensions.IQueryable.cs
│ │ │ └── Trees
│ │ │ ├── IEnabled.cs
│ │ │ ├── IParentId.cs
│ │ │ ├── IPath.cs
│ │ │ ├── ISortId.cs
│ │ │ ├── ITreeQueryParameter.cs
│ │ │ └── TreeQueryParameter.cs
│ ├── Bing.Ddd.Application.Contracts
│ │ ├── Bing.Ddd.Application.Contracts.csproj
│ │ ├── Bing
│ │ │ ├── Application
│ │ │ │ ├── Aspects
│ │ │ │ │ ├── ICommitAfter.cs
│ │ │ │ │ └── UnitOfWorkAttribute.cs
│ │ │ │ ├── Commands
│ │ │ │ │ ├── ICommand.cs
│ │ │ │ │ ├── ICommandHandler.cs
│ │ │ │ │ └── ICommandProcessor.cs
│ │ │ │ ├── Dtos
│ │ │ │ │ ├── DtoBase.cs
│ │ │ │ │ ├── IDto.cs
│ │ │ │ │ ├── IKey.cs
│ │ │ │ │ ├── IRequest.cs
│ │ │ │ │ ├── IResponse.cs
│ │ │ │ │ ├── NullableIdDto.cs
│ │ │ │ │ └── RequestBase.cs
│ │ │ │ ├── Queries
│ │ │ │ │ ├── IQuery.cs
│ │ │ │ │ ├── IQueryHandler.cs
│ │ │ │ │ └── IQueryProcessor.cs
│ │ │ │ └── Services
│ │ │ │ │ ├── IAppService.cs
│ │ │ │ │ ├── ICrudAppService.cs
│ │ │ │ │ ├── IDeleteAppService.cs
│ │ │ │ │ └── IQueryAppService.cs
│ │ │ └── Trees
│ │ │ │ ├── ITreeNode.cs
│ │ │ │ ├── ITreeTableResult.cs
│ │ │ │ ├── ITreesAppService.cs
│ │ │ │ ├── ITreesQueryAppService.cs
│ │ │ │ ├── TreeDto.cs
│ │ │ │ ├── TreeDtoBase.cs
│ │ │ │ ├── TreeExtensions.cs
│ │ │ │ └── TreeTableResult.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.Ddd.Application
│ │ ├── Bing.Ddd.Application.csproj
│ │ ├── Bing
│ │ │ └── Application
│ │ │ │ └── Services
│ │ │ │ ├── AppServiceBase.cs
│ │ │ │ ├── CrudAppServiceBase.cs
│ │ │ │ ├── DeleteAppServiceBase.cs
│ │ │ │ ├── QueryAppServiceBase.cs
│ │ │ │ └── TreesAppServiceBase.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.Ddd.Domain.Extensions.Analyzers
│ │ ├── Bing.Ddd.Domain.Extensions.Analyzers.csproj
│ │ └── Bing
│ │ │ └── Analyzers
│ │ │ ├── ChangeTrackableSourceGenerator.cs
│ │ │ └── SourceGenerator
│ │ │ └── DomainObjectBaseSyntaxReceiver.cs
│ ├── Bing.Ddd.Domain
│ │ ├── Bing.Ddd.Domain.csproj
│ │ ├── Bing
│ │ │ ├── Data
│ │ │ │ ├── Extensions.ISoftDelete.cs
│ │ │ │ ├── IQueryStore.cs
│ │ │ │ ├── IStore.cs
│ │ │ │ ├── Persistence
│ │ │ │ │ ├── PersistentEntityBase.cs
│ │ │ │ │ ├── PersistentObjectBase.cs
│ │ │ │ │ └── TreePersistentObjectBase.cs
│ │ │ │ └── SeedDataInitializerBase.cs
│ │ │ ├── Domain
│ │ │ │ ├── ChangeTracking
│ │ │ │ │ ├── ChangeTrackingContext.cs
│ │ │ │ │ ├── ChangedValueDescriptor.cs
│ │ │ │ │ ├── ChangedValueDescriptorCollection.cs
│ │ │ │ │ └── IChangeTrackable.cs
│ │ │ │ ├── Entities
│ │ │ │ │ ├── AggregateRoot.cs
│ │ │ │ │ ├── Auditing
│ │ │ │ │ │ ├── AuditedAggregateRoot.cs
│ │ │ │ │ │ ├── AuditedAggregateRootWithName.cs
│ │ │ │ │ │ ├── AuditedEntity.cs
│ │ │ │ │ │ ├── AuditedEntityWithName.cs
│ │ │ │ │ │ ├── CreationAuditedAggregateRoot.cs
│ │ │ │ │ │ ├── CreationAuditedAggregateRootWithName.cs
│ │ │ │ │ │ ├── CreationAuditedEntity.cs
│ │ │ │ │ │ ├── CreationAuditedEntityWithName.cs
│ │ │ │ │ │ ├── FullAuditedAggregateRoot.cs
│ │ │ │ │ │ ├── FullAuditedAggregateRootWithName.cs
│ │ │ │ │ │ ├── FullAuditedEntity.cs
│ │ │ │ │ │ └── FullAuditedEntityWithName.cs
│ │ │ │ │ ├── BasicAggregateRoot.cs
│ │ │ │ │ ├── DescriptionContext.cs
│ │ │ │ │ ├── DomainObjectBase.cs
│ │ │ │ │ ├── EntityBase.cs
│ │ │ │ │ ├── EntityHelper.cs
│ │ │ │ │ ├── Events
│ │ │ │ │ │ ├── DependencyInjectionHandlerFactory.cs
│ │ │ │ │ │ ├── DomainEvent.cs
│ │ │ │ │ │ ├── DomainEventDispatcher.cs
│ │ │ │ │ │ ├── DomainEventHandlerInfo.cs
│ │ │ │ │ │ ├── DomainEventHandlerTypeStore.cs
│ │ │ │ │ │ ├── Extensions.Service.cs
│ │ │ │ │ │ ├── Extensions.Type.cs
│ │ │ │ │ │ ├── IDomainEventDispatcher.cs
│ │ │ │ │ │ ├── IDomainEventHandler.cs
│ │ │ │ │ │ ├── IDomainEventHandlerTypeStore.cs
│ │ │ │ │ │ └── IDomainHandlerFactory.cs
│ │ │ │ │ ├── IAggregateRoot.cs
│ │ │ │ │ ├── IDomainObject.cs
│ │ │ │ │ ├── IEntity.cs
│ │ │ │ │ ├── IKey.cs
│ │ │ │ │ ├── IVersion.cs
│ │ │ │ │ ├── KeyListComparator.cs
│ │ │ │ │ ├── KeyListCompareResult.cs
│ │ │ │ │ ├── ListComparator.cs
│ │ │ │ │ └── ListCompareResult.cs
│ │ │ │ ├── Repositories
│ │ │ │ │ ├── ICompactRepository.cs
│ │ │ │ │ ├── IQueryRepository.cs
│ │ │ │ │ └── IRepository.cs
│ │ │ │ ├── Services
│ │ │ │ │ ├── DomainServiceBase.cs
│ │ │ │ │ ├── IDomainService.cs
│ │ │ │ │ └── ParameterBase.cs
│ │ │ │ └── Values
│ │ │ │ │ └── ValueObjectBase.cs
│ │ │ ├── Extensions.Domain.cs
│ │ │ ├── Extensions.Tree.cs
│ │ │ └── Trees
│ │ │ │ ├── ITreeCompactRepository.cs
│ │ │ │ ├── ITreeEntity.cs
│ │ │ │ ├── ITreeRepository.cs
│ │ │ │ ├── TreeEntityBase.cs
│ │ │ │ └── UpdatePathManager.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.EasyCaching
│ │ ├── Bing.EasyCaching.csproj
│ │ ├── Bing
│ │ │ └── EasyCaching
│ │ │ │ ├── CacheKeyGenerator.cs
│ │ │ │ ├── CacheManager.cs
│ │ │ │ ├── CacheProviderKey.cs
│ │ │ │ ├── CachingOptions.cs
│ │ │ │ ├── Extensions.Service.cs
│ │ │ │ ├── MemoryCacheManager.cs
│ │ │ │ └── RedisCacheManager.cs
│ │ └── global-usings.cs
│ ├── Bing.Emailing
│ │ ├── Bing.Emailing.csproj
│ │ ├── Bing
│ │ │ └── Emailing
│ │ │ │ ├── Attachments
│ │ │ │ ├── MemoryStreamAttachment.cs
│ │ │ │ └── PhysicalFileAttachment.cs
│ │ │ │ ├── DefaultEmailConfigProvider.cs
│ │ │ │ ├── EmailBox.cs
│ │ │ │ ├── EmailConfig.cs
│ │ │ │ ├── EmailSenderBase.cs
│ │ │ │ ├── IAttachment.cs
│ │ │ │ ├── IEmailConfigProvider.cs
│ │ │ │ ├── IEmailSender.cs
│ │ │ │ ├── IMailQueueManager.cs
│ │ │ │ ├── IMailQueueProvider.cs
│ │ │ │ ├── IMailQueueService.cs
│ │ │ │ ├── MailQueueManagerBase.cs
│ │ │ │ ├── MailQueueProvider.cs
│ │ │ │ ├── MailQueueService.cs
│ │ │ │ ├── NullEmailSender.cs
│ │ │ │ └── Smtp
│ │ │ │ ├── Extensions.Service.cs
│ │ │ │ ├── ISmtpEmailSender.cs
│ │ │ │ ├── SmtpEmailSender.cs
│ │ │ │ └── SmtpMailQueueManager.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.EntityFrameworkCore.MySql
│ │ ├── AggregateRootMap.cs
│ │ ├── Bing.EntityFrameworkCore.MySql.csproj
│ │ ├── EntityMap.cs
│ │ ├── Extensions.Service.cs
│ │ ├── IMap.cs
│ │ └── MySqlUnitOfWorkBase.cs
│ ├── Bing.EntityFrameworkCore.Oracle
│ │ ├── AggregateRootMap.cs
│ │ ├── Bing.EntityFrameworkCore.Oracle.csproj
│ │ ├── EntityMap.cs
│ │ ├── Extensions.Service.cs
│ │ ├── IMap.cs
│ │ └── OracleUnitOfWorkBase.cs
│ ├── Bing.EntityFrameworkCore.PostgreSql
│ │ ├── AggregateRootMap.cs
│ │ ├── Bing.EntityFrameworkCore.PostgreSql.csproj
│ │ ├── EntityMap.cs
│ │ ├── Extensions.Service.cs
│ │ ├── IMap.cs
│ │ └── UnitOfWork.cs
│ ├── Bing.EntityFrameworkCore.SqlServer
│ │ ├── AggregateRootMap.cs
│ │ ├── Bing.EntityFrameworkCore.SqlServer.csproj
│ │ ├── EntityMap.cs
│ │ ├── Extensions.Service.cs
│ │ ├── IMap.cs
│ │ └── UnitOfWork.cs
│ ├── Bing.EntityFrameworkCore.Sqlite
│ │ ├── AggregateRootMap.cs
│ │ ├── Bing.EntityFrameworkCore.Sqlite.csproj
│ │ ├── EntityMap.cs
│ │ ├── Extensions.Service.cs
│ │ ├── IMap.cs
│ │ └── UnitOfWork.cs
│ ├── Bing.EntityFrameworkCore
│ │ ├── Bing.EntityFrameworkCore.csproj
│ │ ├── Bing
│ │ │ ├── Data
│ │ │ │ └── Filters
│ │ │ │ │ ├── FilterBase.cs
│ │ │ │ │ ├── FilterManager.cs
│ │ │ │ │ └── SoftDeleteFilter.cs
│ │ │ ├── EntityFrameworkCore
│ │ │ │ ├── IEntityConfigurationTypeFinder.cs
│ │ │ │ ├── IEntityTypeConfiguration.cs
│ │ │ │ ├── Internal
│ │ │ │ │ └── EntityConfigurationTypeFinder.cs
│ │ │ │ ├── Migrations
│ │ │ │ │ ├── IMigrationFileService.cs
│ │ │ │ │ ├── IMigrationService.cs
│ │ │ │ │ ├── MigrationFileService.cs
│ │ │ │ │ └── MigrationService.cs
│ │ │ │ ├── Modeling
│ │ │ │ │ └── BingEntityTypeBuilderExtensions.cs
│ │ │ │ ├── QueryStoreExtensions.cs
│ │ │ │ ├── QueryableExtensions.cs
│ │ │ │ ├── ValueComparers
│ │ │ │ │ └── ExtraPropertyDictionaryValueComparer.cs
│ │ │ │ └── ValueConverters
│ │ │ │ │ ├── DateTimeValueConverter.cs
│ │ │ │ │ ├── ExtraPropertiesValueConverter.cs
│ │ │ │ │ └── TrimStringValueConverter.cs
│ │ │ └── Trees
│ │ │ │ ├── TreeCompactRepositoryBase.cs
│ │ │ │ └── TreeRepositoryBase.cs
│ │ ├── Conventions
│ │ │ ├── BingCoreConventionSetBuilder.cs
│ │ │ ├── DecimalPrecisionAttributeConvention.cs
│ │ │ └── HasMaxLengthAttributeConvention.cs
│ │ ├── Core
│ │ │ ├── CompactRepositoryBase.cs
│ │ │ ├── EfCoreAsyncQueryableProvider.cs
│ │ │ ├── IMap.cs
│ │ │ ├── MapBase.cs
│ │ │ ├── RepositoryBase.cs
│ │ │ ├── StoreBase.cs
│ │ │ └── UnitOfWorkBase.cs
│ │ ├── Extensions
│ │ │ ├── InternalPropertyBuilderExtensions.cs
│ │ │ ├── ModelBuilderExtensions.cs
│ │ │ ├── PropertyBuilderExtensions.cs
│ │ │ └── UnitOfWorkExtensions.cs
│ │ └── MigrationModuleBase.cs
│ ├── Bing.EventBus.Abstractions
│ │ ├── Bing.EventBus.Abstractions.csproj
│ │ └── Bing
│ │ │ └── EventBus
│ │ │ ├── Distributed
│ │ │ ├── IDistributedEvent.cs
│ │ │ └── IDistributedEventBus.cs
│ │ │ ├── EventBusExtensions.cs
│ │ │ ├── IEvent.cs
│ │ │ ├── IEventBus.cs
│ │ │ ├── IEventHandler.cs
│ │ │ └── Local
│ │ │ ├── ILocalEventBus.cs
│ │ │ └── ILocalEventHandler.cs
│ ├── Bing.EventBus
│ │ ├── Bing.EventBus.csproj
│ │ ├── Bing
│ │ │ └── EventBus
│ │ │ │ ├── ActionEventHandler.cs
│ │ │ │ ├── Distributed
│ │ │ │ ├── IDistributedEventBus.cs
│ │ │ │ └── IDistributedEventHandler.cs
│ │ │ │ ├── EventBusBase.cs
│ │ │ │ ├── EventBusExtensions.cs
│ │ │ │ ├── EventHandlerDisposeWrapper.cs
│ │ │ │ ├── EventHandlerFactoryUnregistrar.cs
│ │ │ │ ├── IEvent.cs
│ │ │ │ ├── IEventBus.cs
│ │ │ │ ├── IEventDataWithInheritableGenericArgument.cs
│ │ │ │ ├── IEventHandler.cs
│ │ │ │ ├── IEventHandlerDisposeWrapper.cs
│ │ │ │ ├── IEventHandlerFactory.cs
│ │ │ │ ├── IMessageEvent.cs
│ │ │ │ ├── IMessageEventBus.cs
│ │ │ │ ├── IocEventHandlerFactory.cs
│ │ │ │ ├── Local
│ │ │ │ ├── ILocalEventBus.cs
│ │ │ │ ├── ILocalEventHandler.cs
│ │ │ │ ├── LocalEventBus.cs
│ │ │ │ ├── LocalEventBusOptions.cs
│ │ │ │ ├── LocalEventHandlerBase.cs
│ │ │ │ ├── LocalEventMessage.cs
│ │ │ │ └── NullLocalEventBus.cs
│ │ │ │ ├── MessageEvent.cs
│ │ │ │ ├── SingleInstanceHandlerFactory.cs
│ │ │ │ └── TransientEventHandlerFactory.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.Events.Cap.MySql
│ │ ├── 00-Source
│ │ │ ├── CAP.EFOptions.cs
│ │ │ ├── CAP.MySqlCapOptionsExtension.cs
│ │ │ ├── CAP.MySqlOptions.cs
│ │ │ ├── CAP.Options.Extensions.cs
│ │ │ ├── ICapTransaction.MySql.cs
│ │ │ ├── IDataStorage.MySql.cs
│ │ │ ├── IDbConnection.Extensions.cs
│ │ │ ├── IDbContextTransaction.CAP.cs
│ │ │ ├── IMonitoringApi.MySql.cs
│ │ │ └── IStorageInitializer.MySql.cs
│ │ ├── Bing.Events.Cap.MySql.csproj
│ │ ├── dependency.props
│ │ ├── project.dependency.props
│ │ ├── project.props
│ │ └── references.props
│ ├── Bing.Events
│ │ ├── Bing.Events.csproj
│ │ ├── Cap
│ │ │ ├── CapTraceAttribute.cs
│ │ │ ├── EventBus.cs
│ │ │ ├── Extensions.Service.cs
│ │ │ ├── Headers.cs
│ │ │ └── MessageEventBus.cs
│ │ ├── Default
│ │ │ ├── EventBus.cs
│ │ │ ├── EventHandlerManager.cs
│ │ │ └── Extensions.Service.cs
│ │ ├── EventHandlerAttribute.cs
│ │ └── global-usings.cs
│ ├── Bing.ExceptionHandling
│ │ ├── Bing.ExceptionHandling.csproj
│ │ ├── Bing
│ │ │ ├── AspNetCore
│ │ │ │ └── ExceptionHandling
│ │ │ │ │ ├── BingExceptionHandlingOptions.cs
│ │ │ │ │ ├── DefaultExceptionToErrorInfoConverter.cs
│ │ │ │ │ └── IExceptionToErrorInfoConverter.cs
│ │ │ ├── Domain
│ │ │ │ └── Entities
│ │ │ │ │ └── EntityNotFoundException.cs
│ │ │ └── Http
│ │ │ │ ├── Clients
│ │ │ │ └── BingRemoteCallException.cs
│ │ │ │ ├── RemoteServiceErrorInfo.cs
│ │ │ │ ├── RemoteServiceErrorResponse.cs
│ │ │ │ └── RemoteServiceValidationErrorInfo.cs
│ │ └── global-usings.cs
│ ├── Bing.Extensions.SkyApm.Diagnostics.Sql
│ │ ├── Bing.Extensions.SkyApm.Diagnostics.Sql.csproj
│ │ ├── SkyApm
│ │ │ └── Diagnostics
│ │ │ │ └── Sql
│ │ │ │ ├── SkyWalkingBuilderExtensions.cs
│ │ │ │ └── SqlQueryTracingDiagnosticProcessor.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.FreeSQL.MySql
│ │ ├── Bing.FreeSQL.MySql.csproj
│ │ ├── Bing
│ │ │ ├── FreeSQL
│ │ │ │ ├── Extensions.Services.cs
│ │ │ │ └── MySql
│ │ │ │ │ ├── AggregateRootMap.cs
│ │ │ │ │ ├── EntityMap.cs
│ │ │ │ │ └── IMap.cs
│ │ │ └── Uow
│ │ │ │ └── UnitOfWork.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.FreeSQL
│ │ ├── Bing.FreeSQL.csproj
│ │ ├── Bing
│ │ │ ├── Data
│ │ │ │ └── Stores
│ │ │ │ │ ├── QueryStoreBase.cs
│ │ │ │ │ └── StoreBase.cs
│ │ │ ├── Domain
│ │ │ │ └── Repositories
│ │ │ │ │ ├── CompactRepositoryBase.cs
│ │ │ │ │ ├── RepositoryBase.cs
│ │ │ │ │ ├── TreeCompactRepositoryBase.cs
│ │ │ │ │ └── TreeRepositoryBase.cs
│ │ │ ├── FreeSQL
│ │ │ │ ├── Extensions
│ │ │ │ │ └── QueryableExtensions.cs
│ │ │ │ ├── FreeSqlAsyncQueryableProvider.cs
│ │ │ │ ├── FreeSqlWrapper.cs
│ │ │ │ ├── IMap.cs
│ │ │ │ └── MapBase.cs
│ │ │ └── Uow
│ │ │ │ └── UnitOfWorkBase.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.Localization.Abstractions
│ │ ├── Bing.Localization.Abstractions.csproj
│ │ └── Bing
│ │ │ └── Localization
│ │ │ ├── ILocalizedManager.cs
│ │ │ ├── ILocalizedStore.cs
│ │ │ ├── IPathResolver.cs
│ │ │ ├── JsonLocalizationOptions.cs
│ │ │ ├── LocalizationOptions.cs
│ │ │ └── LocalizedTypeAttribute.cs
│ ├── Bing.Localization
│ │ ├── Bing.Localization.csproj
│ │ ├── Bing
│ │ │ └── Localization
│ │ │ │ ├── Caching
│ │ │ │ └── CacheHelper.cs
│ │ │ │ ├── Json
│ │ │ │ ├── JsonStringLocalizer.cs
│ │ │ │ ├── JsonStringLocalizerFactory.cs
│ │ │ │ └── JsonStringLocalizerLoggerExtensions.cs
│ │ │ │ ├── NullStringLocalizer.cs
│ │ │ │ ├── PathResolver.cs
│ │ │ │ ├── ServiceCollectionExtensions.cs
│ │ │ │ ├── Store
│ │ │ │ ├── LocalizedManager.cs
│ │ │ │ ├── StoreStringLocalizer.cs
│ │ │ │ ├── StoreStringLocalizerFactory.cs
│ │ │ │ └── StoreStringLocalizerLoggerExtensions.cs
│ │ │ │ ├── StringLocalizer.cs
│ │ │ │ └── StringLocalizerBase.cs
│ │ └── global-usings.cs
│ ├── Bing.Locks.CSRedis
│ │ ├── Bing.Locks.CSRedis.csproj
│ │ ├── Bing
│ │ │ └── Locks
│ │ │ │ ├── CSRedisDistributedLock.cs
│ │ │ │ └── Extensions.Service.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.Logging.Serilog
│ │ ├── Bing.Logging.Serilog.csproj
│ │ ├── Bing
│ │ │ └── Logging
│ │ │ │ └── Serilog
│ │ │ │ ├── Enrichers
│ │ │ │ ├── EnvironmentEnricher.cs
│ │ │ │ ├── FunctionEnricher.cs
│ │ │ │ ├── KeyValueEnricher.cs
│ │ │ │ ├── LogContextEnricher.cs
│ │ │ │ └── LogLevelEnricher.cs
│ │ │ │ ├── Internals
│ │ │ │ └── LogLevelSwitcher.cs
│ │ │ │ ├── LoggerConfigurationExtensions.cs
│ │ │ │ └── LoggerEnrichmentConfigurationExtensions.cs
│ │ └── global-usings.cs
│ ├── Bing.Logging.Sinks.Exceptionless
│ │ ├── Bing.Logging.Sinks.Exceptionless.csproj
│ │ ├── Bing
│ │ │ └── Logging
│ │ │ │ └── Sinks
│ │ │ │ └── Exceptionless
│ │ │ │ └── Internals
│ │ │ │ └── LogLevelSwitcher.cs
│ │ ├── Serilog
│ │ │ ├── LoggerSinkConfigurationExtensions.cs
│ │ │ └── Sinks
│ │ │ │ └── Exceptionless
│ │ │ │ ├── ExceptionlessClientExtensions.cs
│ │ │ │ ├── ExceptionlessSink.cs
│ │ │ │ └── SelfLogLogger.cs
│ │ └── dependency.props
│ ├── Bing.Logging
│ │ ├── Bing.Logging.csproj
│ │ ├── Bing
│ │ │ └── Logging
│ │ │ │ ├── BingLoggingBuilder.cs
│ │ │ │ ├── BingLoggingOptions.cs
│ │ │ │ ├── Core
│ │ │ │ ├── Callers
│ │ │ │ │ ├── ILogCallerInfo.cs
│ │ │ │ │ ├── LogCallerInfo.cs
│ │ │ │ │ └── NullLogCallerInfo.cs
│ │ │ │ ├── LogEventContext.cs
│ │ │ │ └── LogEventDescriptor.cs
│ │ │ │ ├── ExtraSupports
│ │ │ │ ├── ContextData.cs
│ │ │ │ ├── ContextDataItem.cs
│ │ │ │ └── ContextDataTypes.cs
│ │ │ │ ├── IBingLoggingOptionsExtension.cs
│ │ │ │ ├── ILog.cs
│ │ │ │ ├── ILogContextAccessor.cs
│ │ │ │ ├── ILogExtensions.cs
│ │ │ │ ├── ILogFactory.cs
│ │ │ │ ├── ILoggerWrapper.cs
│ │ │ │ ├── Log.cs
│ │ │ │ ├── LogContext.cs
│ │ │ │ ├── LogContextAccessor.cs
│ │ │ │ ├── LogFactory.cs
│ │ │ │ ├── Log`.cs
│ │ │ │ ├── LoggerWrapper.cs
│ │ │ │ ├── NullLog.cs
│ │ │ │ └── ServiceCollectionExtensions.cs
│ │ └── global-usings.cs
│ ├── Bing.MailKit
│ │ ├── Bing.MailKit.csproj
│ │ ├── Bing
│ │ │ └── MailKit
│ │ │ │ ├── Configs
│ │ │ │ ├── DefaultMailKitConfigProvider.cs
│ │ │ │ ├── IMailKitConfigProvider.cs
│ │ │ │ └── MailKitConfig.cs
│ │ │ │ ├── DefaultMailKitSmtpBuilder.cs
│ │ │ │ ├── Extensions
│ │ │ │ ├── EmailExtensions.cs
│ │ │ │ ├── EmailOptions.cs
│ │ │ │ └── Extensions.Service.cs
│ │ │ │ ├── IMailKitEmailSender.cs
│ │ │ │ ├── IMailKitSmtpBuilder.cs
│ │ │ │ ├── MailKitEmailSender.cs
│ │ │ │ └── MailKitMailQueueManager.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.MiniProfiler
│ │ ├── Bing.MiniProfiler.csproj
│ │ ├── Bing
│ │ │ └── MiniProfiler
│ │ │ │ ├── MiniProfilerModule.cs
│ │ │ │ └── MiniProfilerModuleBase.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.MultiTenancy.Abstractions
│ │ ├── Bing.MultiTenancy.Abstractions.csproj
│ │ └── Bing
│ │ │ └── MultiTenancy
│ │ │ ├── BasicTenantInfo.cs
│ │ │ ├── BingTenantResolveOptions.cs
│ │ │ ├── ConfigurationStore
│ │ │ └── BingDefaultTenantStoreOptions.cs
│ │ │ ├── CurrentTenantExtensions.cs
│ │ │ ├── ICurrentTenant.cs
│ │ │ ├── ICurrentTenantAccessor.cs
│ │ │ ├── IMultiTenant.cs
│ │ │ ├── ITenantConfigurationProvider.cs
│ │ │ ├── ITenantNormalizer.cs
│ │ │ ├── ITenantResolveContext.cs
│ │ │ ├── ITenantResolveContributor.cs
│ │ │ ├── ITenantResolveResultAccessor.cs
│ │ │ ├── ITenantResolver.cs
│ │ │ ├── ITenantStore.cs
│ │ │ ├── Localization
│ │ │ ├── BingMultiTenancyResource.cs
│ │ │ └── BingMultiTenancyResource.zh-Hans.json
│ │ │ ├── MultiTenancyOptions.cs
│ │ │ ├── TenantConfiguration.cs
│ │ │ ├── TenantResolveResult.cs
│ │ │ ├── TenantResolverConst.cs
│ │ │ └── UpperInvariantTenantNormalizer.cs
│ ├── Bing.MultiTenancy
│ │ ├── Bing.MultiTenancy.csproj
│ │ └── Bing
│ │ │ └── MultiTenancy
│ │ │ ├── ActionTenantResolveContributor.cs
│ │ │ ├── AsyncLocalCurrentTenantAccessor.cs
│ │ │ ├── ConfigurationStore
│ │ │ └── DefaultTenantStore.cs
│ │ │ ├── CurrentTenant.cs
│ │ │ ├── CurrentUserTenantResolveContributor.cs
│ │ │ ├── NullTenantResolveResultAccessor.cs
│ │ │ ├── TenantConfigurationProvider.cs
│ │ │ ├── TenantResolveContext.cs
│ │ │ ├── TenantResolveContributorBase.cs
│ │ │ └── TenantResolver.cs
│ ├── Bing.ObjectMapping
│ │ ├── Bing.ObjectMapping.csproj
│ │ ├── Bing
│ │ │ └── ObjectMapping
│ │ │ │ ├── IMapperProfileTypeFinder.cs
│ │ │ │ ├── IObjectMapper.cs
│ │ │ │ ├── IObjectMapperProfile.cs
│ │ │ │ ├── MapperProfileTypeFinder.cs
│ │ │ │ └── ObjectMapperExtensions.cs
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.Permissions
│ │ ├── Bing.Permissions.csproj
│ │ ├── Identity
│ │ │ ├── Describers
│ │ │ │ └── IdentityErrorChineseDescriber.cs
│ │ │ ├── Extensions
│ │ │ │ ├── IdentityExtensions.cs
│ │ │ │ ├── IdentityOptionsExtensions.cs
│ │ │ │ └── IdentityResultExtensions.cs
│ │ │ ├── Models
│ │ │ │ ├── ApplicationBase.Base.cs
│ │ │ │ ├── ApplicationBase.cs
│ │ │ │ ├── RoleBase.Base.cs
│ │ │ │ ├── RoleBase.cs
│ │ │ │ ├── UserBase.Base.cs
│ │ │ │ └── UserBase.cs
│ │ │ ├── Options
│ │ │ │ ├── LockoutOptions.cs
│ │ │ │ ├── PasswordOptions.cs
│ │ │ │ ├── PermissionOptions.cs
│ │ │ │ ├── SignInOptions.cs
│ │ │ │ ├── StoreOptions.cs
│ │ │ │ └── UserOptions.cs
│ │ │ ├── Purposes
│ │ │ │ └── TokenPurpose.cs
│ │ │ ├── Repositories
│ │ │ │ ├── IApplicationRepository.cs
│ │ │ │ ├── IRoleRepository.cs
│ │ │ │ └── IUserRepository.cs
│ │ │ ├── Results
│ │ │ │ ├── SignInResult.cs
│ │ │ │ └── SignInState.cs
│ │ │ └── Services
│ │ │ │ ├── Abstractions
│ │ │ │ ├── IRoleManager.cs
│ │ │ │ ├── ISignInManager.cs
│ │ │ │ └── IUserManager.cs
│ │ │ │ └── Implements
│ │ │ │ ├── IdentitySignInManager.cs
│ │ │ │ ├── IdentityUserManager.cs
│ │ │ │ ├── RoleManager.cs
│ │ │ │ ├── SignInManager.cs
│ │ │ │ └── UserManager.cs
│ │ ├── Properties
│ │ │ ├── SecurityResources.Designer.cs
│ │ │ └── SecurityResources.resx
│ │ ├── dependency.props
│ │ └── references.props
│ ├── Bing.Security
│ │ ├── Bing.Security.csproj
│ │ ├── Bing
│ │ │ ├── Authorization
│ │ │ │ ├── BingAuthorizationException.cs
│ │ │ │ └── Modules
│ │ │ │ │ └── ModuleInfo.cs
│ │ │ ├── Clients
│ │ │ │ ├── CurrentClient.cs
│ │ │ │ └── ICurrentClient.cs
│ │ │ ├── Security
│ │ │ │ ├── AuthorizationStatus.cs
│ │ │ │ ├── Claims
│ │ │ │ │ ├── BingClaimTypes.cs
│ │ │ │ │ ├── BingClaimsPrincipalContributorContext.cs
│ │ │ │ │ ├── BingClaimsPrincipalFactory.cs
│ │ │ │ │ ├── BingClaimsPrincipalFactoryOptions.cs
│ │ │ │ │ ├── CurrentPrincipalAccessorBase.cs
│ │ │ │ │ ├── CurrentPrincipalAccessorExtensions.cs
│ │ │ │ │ ├── IBingClaimsPrincipalContributor.cs
│ │ │ │ │ ├── IBingClaimsPrincipalFactory.cs
│ │ │ │ │ ├── IBingDynamicClaimsPrincipalContributor.cs
│ │ │ │ │ ├── ICurrentPrincipalAccessor.cs
│ │ │ │ │ └── ThreadCurrentPrincipalAccessor.cs
│ │ │ │ ├── Encryption
│ │ │ │ │ ├── IEncryptor.cs
│ │ │ │ │ ├── IStringEncryptionService.cs
│ │ │ │ │ └── NullEncryptor.cs
│ │ │ │ └── Principals
│ │ │ │ │ ├── UnauthenticatedIdentity.cs
│ │ │ │ │ └── UnauthenticatedPrincipal.cs
│ │ │ ├── SecurityLog
│ │ │ │ ├── BingSecurityLogOptions.cs
│ │ │ │ ├── DefaultSecurityLogManager.cs
│ │ │ │ ├── ISecurityLogManager.cs
│ │ │ │ ├── ISecurityLogStore.cs
│ │ │ │ ├── SecurityLogInfo.cs
│ │ │ │ └── SimpleSecurityLogStore.cs
│ │ │ └── Users
│ │ │ │ ├── CurrentUser.cs
│ │ │ │ ├── CurrentUserExtensions.cs
│ │ │ │ ├── ICurrentUser.cs
│ │ │ │ └── NullCurrentUser.cs
│ │ ├── Properties
│ │ │ ├── SecurityResources.Designer.cs
│ │ │ └── SecurityResources.resx
│ │ ├── System
│ │ │ └── Security
│ │ │ │ └── Principal
│ │ │ │ └── BingClaimsIdentityExtensions.cs
│ │ └── dependency.props
│ ├── Bing.TextTemplating.Scriban
│ │ ├── Bing.TextTemplating.Scriban.csproj
│ │ └── Bing
│ │ │ └── TextTemplating
│ │ │ └── Scriban
│ │ │ ├── ScribanTemplateDefinitionExtensions.cs
│ │ │ └── ScribanTemplateRenderingEngine.cs
│ ├── Bing.TextTemplating
│ │ ├── Bing.TextTemplating.csproj
│ │ └── Bing
│ │ │ └── TextTemplating
│ │ │ ├── BingTemplateRenderer.cs
│ │ │ ├── BingTextTemplatingOptions.cs
│ │ │ ├── ITemplateContentContributor.cs
│ │ │ ├── ITemplateContentProvider.cs
│ │ │ ├── ITemplateDefinitionContext.cs
│ │ │ ├── ITemplateDefinitionManager.cs
│ │ │ ├── ITemplateDefinitionProvider.cs
│ │ │ ├── ITemplateRenderer.cs
│ │ │ ├── ITemplateRenderingEngine.cs
│ │ │ ├── TemplateContentContributorContext.cs
│ │ │ ├── TemplateContentProvider.cs
│ │ │ ├── TemplateDefinition.cs
│ │ │ ├── TemplateDefinitionContext.cs
│ │ │ ├── TemplateDefinitionManager.cs
│ │ │ ├── TemplateDefinitionProviderBase.cs
│ │ │ └── TemplateRenderingEngineBase.cs
│ ├── Bing.Uow
│ │ ├── Bing.Uow.csproj
│ │ └── Bing
│ │ │ └── Uow
│ │ │ ├── IUnitOfWork.cs
│ │ │ ├── IUnitOfWorkManager.cs
│ │ │ └── UnitOfWorkManager.cs
│ ├── Bing.Validation.Abstractions
│ │ ├── Bing.Validation.Abstractions.csproj
│ │ └── Bing
│ │ │ └── Validation
│ │ │ ├── IValidationCallbackHandler.cs
│ │ │ ├── IValidationResult.cs
│ │ │ ├── IVerifyModel.cs
│ │ │ └── Strategies
│ │ │ └── IValidationStrategy.cs
│ └── Bing.Validation
│ │ ├── Bing.Validation.csproj
│ │ ├── Bing
│ │ └── Validation
│ │ │ ├── DataAnnotationValidation.cs
│ │ │ ├── NothingHandler.cs
│ │ │ ├── ThrowHandler.cs
│ │ │ ├── ValidAttribute.cs
│ │ │ ├── ValidationContext.cs
│ │ │ ├── ValidationException.cs
│ │ │ ├── ValidationExceptionExtensions.cs
│ │ │ ├── ValidationHandleExceptionExtensions.cs
│ │ │ ├── ValidationHandleOperation.cs
│ │ │ ├── ValidationMe.cs
│ │ │ └── ValidationResultCollection.cs
│ │ ├── System
│ │ └── ComponentModel
│ │ │ └── DataAnnotations
│ │ │ ├── ChineseAttribute.cs
│ │ │ ├── HttpUrlAddressAttribute.cs
│ │ │ ├── IdCardAttribute.cs
│ │ │ ├── LetterAttribute.cs
│ │ │ ├── MoneyAttribute.cs
│ │ │ ├── PlateNumberOfChinaAttribute.cs
│ │ │ ├── PostalCodeOfChinaAttribute.cs
│ │ │ ├── QQAttribute.cs
│ │ │ ├── TelNoOfChinaAttribute.cs
│ │ │ ├── ValidatePattern.cs
│ │ │ └── WechatNoAttribute.cs
│ │ ├── dependency.props
│ │ ├── global-usings.cs
│ │ └── references.props
└── tests
│ ├── Bing.Aop.AspectCore.Tests
│ ├── Bing.Aop.AspectCore.Tests.csproj
│ ├── NotEmptyAttributeTest.cs
│ ├── NotNullAttributeTest.cs
│ ├── Samples
│ │ ├── ITestService.cs
│ │ └── TestService.cs
│ ├── Startup.cs
│ └── global-usings.cs
│ ├── Bing.AspNetCore.Mvc.Tests
│ ├── Bing - Backup.AspNetCore.Mvc.Tests.csproj
│ ├── Bing.AspNetCore.Mvc.Tests.csproj
│ ├── Bing
│ │ └── AspNetCore
│ │ │ ├── BingAspNetCoreTestBase.cs
│ │ │ ├── CorrelationIdProvider
│ │ │ ├── CorrelationIdProviderController.cs
│ │ │ └── CorrelationIdProviderTest.cs
│ │ │ └── Mvc
│ │ │ ├── BingAspNetCoreMvcTestModule.cs
│ │ │ ├── ContentFormatters
│ │ │ ├── RemoteStreamContentTestController.cs
│ │ │ └── RemoteStreamContentTestControllerTest.cs
│ │ │ ├── ExceptionHandling
│ │ │ ├── ExceptionTestController.cs
│ │ │ └── ExceptionTestControllerTest.cs
│ │ │ ├── FakeUserClaims.cs
│ │ │ ├── Startup.cs
│ │ │ └── TestApiResult.cs
│ ├── Properties
│ │ └── launchSettings.json
│ └── global-usings.cs
│ ├── Bing.Auditing.Tests
│ └── Bing.Auditing.Tests.csproj
│ ├── Bing.AutoMapper.Tests
│ ├── Bing.AutoMapper.Tests.csproj
│ ├── Bing
│ │ ├── AutoMapper
│ │ │ ├── ObjectMapperExtensionsTest.cs
│ │ │ ├── ObjectMapperTest.cs
│ │ │ └── TestMapperConfiguration.cs
│ │ └── Tests
│ │ │ └── Samples
│ │ │ ├── AutoMapperSourceSample.cs
│ │ │ ├── AutoMapperTargetSample.cs
│ │ │ ├── EntitySample.cs
│ │ │ ├── EnumSample.cs
│ │ │ ├── Sample.cs
│ │ │ ├── Sample2.cs
│ │ │ ├── Sample3.cs
│ │ │ ├── Sample4.cs
│ │ │ ├── Sample5.cs
│ │ │ ├── Sample6.cs
│ │ │ ├── Sample7.cs
│ │ │ └── TreeEntitySample.cs
│ ├── MapTest.cs
│ └── global-usings.cs
│ ├── Bing.Caching.CSRedis.Tests.Integration
│ ├── Bing.Caching.CSRedis.Tests.Integration.csproj
│ ├── CacheTest.cs
│ ├── RedisCacheManagerTest.cs
│ ├── Startup.cs
│ └── global-usings.cs
│ ├── Bing.Caching.FreeRedis.Tests.Integration
│ ├── Bing.Caching.FreeRedis.Tests.Integration.csproj
│ ├── CacheTest.cs
│ ├── RedisCacheManagerTest.cs
│ ├── Startup.cs
│ └── global-usings.cs
│ ├── Bing.Core.Tests
│ ├── Bing.Core.Tests.csproj
│ ├── CorrelationIdProvider
│ │ └── CorrelationIdProviderTest.cs
│ ├── DependencyInjection
│ │ └── DependencyInjectionTest.cs
│ ├── Exceptions
│ │ ├── ExceptionExtensionsTest.cs
│ │ └── WarningTest.cs
│ ├── Samples
│ │ └── AspectExceptionPrompt.cs
│ └── global-usings.cs
│ ├── Bing.Dapper.MySql.Tests.Integration
│ ├── Bing.Dapper.MySql.Tests.Integration.csproj
│ ├── Infrastructure
│ │ └── DatabaseScript.cs
│ ├── SqlExecutor
│ │ ├── MySqlExecutorTest.Execute.cs
│ │ └── MySqlExecutorTest.cs
│ ├── SqlQuery
│ │ ├── MySqlQueryTest.Query.cs
│ │ └── MySqlQueryTest.cs
│ ├── Startup.cs
│ ├── appsettings.Development.json
│ ├── appsettings.json
│ └── global-usings.cs
│ ├── Bing.Dapper.MySql.Tests
│ ├── Bing.Dapper.MySql.Tests.csproj
│ ├── Builders
│ │ ├── Clauses
│ │ │ └── SelectClauseTest.cs
│ │ ├── MySqlBuilderTest.Join.cs
│ │ ├── MySqlBuilderTest.Select.cs
│ │ ├── MySqlBuilderTest.Start.cs
│ │ └── MySqlBuilderTest.cs
│ ├── Samples
│ │ ├── Sample.cs
│ │ ├── Sample2.cs
│ │ └── Sample3.cs
│ └── global-usings.cs
│ ├── Bing.Dapper.Oracle.Tests
│ ├── Bing.Dapper.Oracle.Tests.csproj
│ ├── Builders
│ │ ├── Clauses
│ │ │ ├── FromClauseTest.cs
│ │ │ └── WhereClauseTest.cs
│ │ └── OracleBuilderTest.cs
│ ├── Samples
│ │ ├── Sample.cs
│ │ ├── Sample2.cs
│ │ └── Sample3.cs
│ └── global-usings.cs
│ ├── Bing.Dapper.PostgreSql.Tests.Integration
│ ├── Bing.Dapper.PostgreSql.Tests.Integration.csproj
│ └── global-usings.cs
│ ├── Bing.Dapper.PostgreSql.Tests
│ ├── Bing.Dapper.PostgreSql.Tests.csproj
│ ├── Builders
│ │ ├── Clauses
│ │ │ └── SelectClauseTest.cs
│ │ └── PostgreSqlBuilderTest.cs
│ └── global-usings.cs
│ ├── Bing.Dapper.SqlServer.Tests.Integration
│ ├── Bing.Dapper.SqlServer.Tests.Integration.csproj
│ └── global-usings.cs
│ ├── Bing.Data.Sql.Tests
│ ├── Bing.Data.Sql.Tests.csproj
│ ├── Builders
│ │ ├── Clauses
│ │ │ ├── FromClauseTest.cs
│ │ │ ├── GroupByClauseTest.cs
│ │ │ ├── JoinClauseTest.cs
│ │ │ ├── OrderByClauseTest.cs
│ │ │ ├── SelectClauseTest.cs
│ │ │ └── WhereClauseTest.cs
│ │ ├── Conditions
│ │ │ ├── AndConditionTest.cs
│ │ │ ├── EqualConditionTest.cs
│ │ │ └── IsNullConditionTest.cs
│ │ ├── Core
│ │ │ ├── ColumnCollectionTest.cs
│ │ │ ├── JoinItemTest.cs
│ │ │ ├── NameItemTest.cs
│ │ │ └── SqlItemTest.cs
│ │ ├── Params
│ │ │ ├── ParamLiteralsResolverTest.cs
│ │ │ └── ParameterManagerTest.cs
│ │ ├── PredicateExpressionResolverTest.cs
│ │ ├── SqlBuilderTest.End.cs
│ │ ├── SqlBuilderTest.From.cs
│ │ ├── SqlBuilderTest.GroupBy.cs
│ │ ├── SqlBuilderTest.Join.cs
│ │ ├── SqlBuilderTest.OrderBy.cs
│ │ ├── SqlBuilderTest.Other.cs
│ │ ├── SqlBuilderTest.Select.cs
│ │ ├── SqlBuilderTest.Set.cs
│ │ ├── SqlBuilderTest.Start.cs
│ │ ├── SqlBuilderTest.Where.cs
│ │ └── SqlBuilderTest.cs
│ ├── Samples
│ │ ├── Sample.cs
│ │ ├── Sample2.cs
│ │ ├── Sample3.cs
│ │ ├── Sample5.cs
│ │ ├── Sample6.cs
│ │ ├── Sample7.cs
│ │ ├── Sample8.cs
│ │ ├── SampleEnum.cs
│ │ ├── Test2.cs
│ │ ├── TestDialect.cs
│ │ ├── TestDialect2.cs
│ │ ├── TestEntityAliasRegister.cs
│ │ ├── TestEntityMetadata.cs
│ │ ├── TestEntityResolver.cs
│ │ ├── TestParameter.cs
│ │ ├── TestSqlBuilder.cs
│ │ └── TestTableDatabase.cs
│ ├── XUnitHelpers
│ │ └── AssertHelper.cs
│ └── global-usings.cs
│ ├── Bing.Data.Tests
│ ├── Bing.Data.Tests.csproj
│ ├── Pages
│ │ ├── PagerListTest.cs
│ │ └── PagerTest.cs
│ ├── Queries
│ │ └── Conditions
│ │ │ ├── AndConditionTest.cs
│ │ │ ├── DateSegmentConditionTest.cs
│ │ │ ├── DateTimeSegmentConditionTest.cs
│ │ │ ├── DecimalSegmentConditionTest.cs
│ │ │ ├── DefaultConditionTest.cs
│ │ │ ├── DoubleSegmentConditionTest.cs
│ │ │ ├── IntSegmentConditionTest.cs
│ │ │ ├── OrCriteriaTest.cs
│ │ │ ├── OrIfNotEmptyConditionTest.cs
│ │ │ └── WhereIfNotEmptyConditionTest.cs
│ └── Samples
│ │ └── Sample.cs
│ ├── Bing.Ddd.Domain.Tests
│ ├── Bing.Ddd.Domain.Tests.csproj
│ ├── Bing
│ │ ├── Domain
│ │ │ ├── Entities
│ │ │ │ ├── Events
│ │ │ │ │ ├── DomainEventHandlerTest.cs
│ │ │ │ │ └── Employee.cs
│ │ │ │ ├── GuidEntityTest.cs
│ │ │ │ ├── IntEntityTest.cs
│ │ │ │ └── StringEntityTest.cs
│ │ │ └── Values
│ │ │ │ └── ValueObjectBaseTest.cs
│ │ └── Tests
│ │ │ └── Samples
│ │ │ ├── AggregateRootSample.cs
│ │ │ ├── EnumSample.cs
│ │ │ ├── IntAggregateRootSample.cs
│ │ │ ├── StringAggregateRootSample.cs
│ │ │ ├── TestResource.Designer.cs
│ │ │ ├── TestResource.resx
│ │ │ ├── ValidateStrategySample.cs
│ │ │ ├── ValidationHandlerSample.cs
│ │ │ └── ValueObjectSample.cs
│ └── global-usings.cs
│ ├── Bing.EventBus.Tests
│ ├── Bing.EventBus.Tests.csproj
│ ├── EventBusExtensionsTest.cs
│ ├── EventBusModule.cs
│ ├── EventBusTest.cs
│ ├── Local
│ │ └── LocalEventBusTest.cs
│ ├── Samples
│ │ ├── EventSample.cs
│ │ └── LocalEventHandlerSample.cs
│ └── Startup.cs
│ ├── Bing.Localization.Resources
│ ├── Bing.Localization.Resources.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── ResourceTypes
│ │ ├── Resource101.cs
│ │ └── Resource102.cs
│ └── Resources2
│ │ ├── ResourceTypes.Resource101.en-US.json
│ │ ├── ResourceTypes.Resource101.zh-CN.json
│ │ └── ResourceTypes
│ │ └── Resource102.zh-CN.json
│ ├── Bing.Localization.Tests.Integration
│ ├── Bing.Localization.Tests.Integration.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── ResourceTypes
│ │ ├── Resource1.cs
│ │ ├── Resource2.cs
│ │ ├── Resource3.cs
│ │ ├── Resource4.cs
│ │ ├── Resource5.cs
│ │ └── Resource6.cs
│ ├── Resources
│ │ ├── ResourceTypes.Resource1.en-US.json
│ │ ├── ResourceTypes.Resource1.zh-CN.json
│ │ ├── ResourceTypes
│ │ │ ├── Resource2.en-US.json
│ │ │ ├── Resource2.zh-CN.json
│ │ │ ├── Resource2.zh-Hans.json
│ │ │ ├── Resource2.zh.json
│ │ │ ├── Resource3.zh-Hans.json
│ │ │ ├── Resource4.Resource41.zh-CN.json
│ │ │ ├── Resource4.zh.json
│ │ │ ├── Resource5.zh-CN.json
│ │ │ ├── Resource5.zh-Hans.json
│ │ │ └── Resource5.zh.json
│ │ └── zh.json
│ ├── Startup.cs
│ ├── Tests
│ │ ├── JsonStringLocalizerFactoryTest.cs
│ │ ├── PathResolverTest.cs
│ │ └── StringLocalizerTest.cs
│ └── global-usings.cs
│ ├── Bing.Localization.Tests
│ ├── Bing.Localization.Tests.csproj
│ ├── Samples
│ │ └── TestType.cs
│ ├── Tests
│ │ ├── LocalizedManagerTest.cs
│ │ ├── StoreStringLocalizerFactoryTest.cs
│ │ └── StoreStringLocalizerTest.cs
│ └── global-usings.cs
│ ├── Bing.Logging.Serilog.Tests.Integration
│ ├── Bing.Logging.Serilog.Tests.Integration.csproj
│ ├── LogContextAccessor.cs
│ ├── LogTest.cs
│ ├── Samples
│ │ └── Product.cs
│ ├── Startup.cs
│ └── appsettings.json
│ ├── Bing.Logging.Tests
│ ├── Bing.Logging.Tests.csproj
│ ├── LogTest.Critical.cs
│ ├── LogTest.Debug.cs
│ ├── LogTest.Error.cs
│ ├── LogTest.Information.cs
│ ├── LogTest.Trace.cs
│ ├── LogTest.Warning.cs
│ ├── LogTest.cs
│ └── Samples
│ │ └── Product.cs
│ ├── Bing.MailKit.Tests
│ ├── Bing.MailKit.Tests.csproj
│ ├── MailKitEmailSenderTest.cs
│ └── TestBase.cs
│ ├── Bing.MultiTenancy.Tests
│ ├── Bing.MultiTenancy.Tests.csproj
│ ├── CurrentTenantTest.cs
│ ├── MultiTenancyResourceTest.cs
│ ├── Resolvers
│ │ ├── ActionTenantResolveContributorTest.cs
│ │ ├── CookieTenantResolveContributorTest.cs
│ │ ├── CurrentUserTenantResolveContributorTest.cs
│ │ ├── DomainTenantResolveContributorTest.cs
│ │ ├── HeaderTenantResolveContributorTest.cs
│ │ ├── QueryStringTenantResolveContributorTest.cs
│ │ └── RouteTenantResolveContributorTest.cs
│ └── global-usings.cs
│ ├── Bing.Test.Shared
│ ├── AssertHelper.cs
│ ├── Bing.Test.Shared.csproj
│ └── IntegrationTestBase.cs
│ ├── Bing.TestShare.MySql
│ ├── Bing.TestShare.MySql.csproj
│ ├── EntityTypeConfigurations
│ │ └── ProductConfiguration.cs
│ ├── Mappings
│ │ └── ProductMap.cs
│ └── UnitOfWorks
│ │ └── MySqlUnitOfWork.cs
│ ├── Bing.TestShare
│ ├── Bing - Backup.TestShare.csproj
│ ├── Bing.TestShare.csproj
│ ├── Configs
│ │ └── TestConfig.cs
│ ├── Models
│ │ ├── Product.cs
│ │ ├── ProductEnum.cs
│ │ └── ProductItem.cs
│ └── UnitOfWorks
│ │ └── ITestUnitOfWork.cs
│ └── Bing.Tests
│ ├── Applications
│ ├── CrudServiceTest.BatchSave.cs
│ ├── CrudServiceTest.Save.cs
│ └── QueryServiceTest.cs
│ ├── Bing.Tests.csproj
│ ├── CloneTest.cs
│ ├── Datas
│ ├── Persistence
│ │ └── PersistentObjectTest.cs
│ ├── Queries
│ │ ├── OrderByBuilderTest.cs
│ │ ├── QueryTest.cs
│ │ └── Trees
│ │ │ └── TreeQueryParameterTest.cs
│ └── UnitOfWorks
│ │ └── UnitOfWorkManagerTest.cs
│ ├── DependencyInjection
│ ├── AppServiceAddTest.cs
│ ├── IgnoreDependencyAttributeTest.cs
│ └── ServiceCollectionTest.cs
│ ├── Domains
│ ├── EntityChangeTest.cs
│ ├── KeyListComparatorTest.cs
│ ├── ListComparatorTest.cs
│ ├── Repositories
│ │ └── PagerListTest.cs
│ ├── Trees
│ │ ├── TreeEntityBaseTest.cs
│ │ └── UpdatePathManagerTest.cs
│ └── ValidTest.cs
│ ├── Events
│ └── EventBusTest.cs
│ ├── Helpers
│ └── IocTest.cs
│ ├── Net
│ └── Mail
│ │ └── Smtp
│ │ └── SmtpEmailSenderTest.cs
│ ├── Reflections
│ ├── AppDomainAllAssemblyFinderTest.cs
│ ├── FinderTest.cs
│ └── TypeFinderTest.cs
│ ├── Samples
│ ├── ChildSample.cs
│ ├── OneSample.cs
│ └── ParentSample.cs
│ └── Validations
│ ├── DataAnnotationValidationTest.cs
│ └── ValidationResultCollectionTest.cs
├── modules
└── admin
│ ├── docs
│ ├── Bing后台管理系统.pdm
│ └── postman
│ │ └── Bing.Admin.postman_collection.json
│ └── src
│ ├── Bing.Admin.Commons.Domain
│ ├── Bing.Admin.Commons.Domain.csproj
│ ├── Models
│ │ ├── Area.Base.cs
│ │ ├── Area.cs
│ │ ├── Dictionary.Base.cs
│ │ ├── Dictionary.cs
│ │ ├── File.Base.cs
│ │ ├── File.cs
│ │ ├── UserInfo.Base.cs
│ │ └── UserInfo.cs
│ ├── Repositories
│ │ ├── IAreaRepository.cs
│ │ ├── IDictionaryRepository.cs
│ │ ├── IFileRepository.cs
│ │ └── IUserInfoRepository.cs
│ └── Services
│ │ ├── Abstractions
│ │ ├── IAreaManager.cs
│ │ ├── IDictionaryManager.cs
│ │ ├── IFileManager.cs
│ │ └── IUserInfoManager.cs
│ │ └── Implements
│ │ ├── AreaManager.cs
│ │ ├── DictionaryManager.cs
│ │ ├── FileManager.cs
│ │ └── UserInfoManager.cs
│ ├── Bing.Admin.Data.EFCore
│ ├── Bing.Admin.Data.EFCore.csproj
│ ├── CapConsumerServiceSelector.cs
│ ├── Mappings
│ │ ├── Commons
│ │ │ └── MySql
│ │ │ │ ├── AreaMap.cs
│ │ │ │ ├── DictionaryMap.cs
│ │ │ │ ├── FileMap.cs
│ │ │ │ └── UserInfoMap.cs
│ │ └── Systems
│ │ │ └── MySql
│ │ │ ├── AdministratorMap.cs
│ │ │ ├── ApplicationPoMap.cs
│ │ │ ├── PermissionMap.cs
│ │ │ ├── ResourcePoMap.cs
│ │ │ ├── RoleMap.cs
│ │ │ ├── UserLoginLogMap.cs
│ │ │ ├── UserMap.cs
│ │ │ └── UserRoleMap.cs
│ ├── Repositories
│ │ ├── Commons
│ │ │ ├── AreaRepository.cs
│ │ │ ├── DictionaryRepository.cs
│ │ │ ├── FileRepository.cs
│ │ │ └── UserInfoRepository.cs
│ │ └── Systems
│ │ │ ├── AdministratorRepository.cs
│ │ │ ├── ApplicationRepository.cs
│ │ │ ├── ModuleRepository.cs
│ │ │ ├── OperationRepository.cs
│ │ │ ├── PermissionRepository.cs
│ │ │ ├── ResourceRepository.cs
│ │ │ ├── RoleRepository.cs
│ │ │ ├── UserLoginLogRepository.cs
│ │ │ └── UserRepository.cs
│ ├── Stores
│ │ └── Implements
│ │ │ └── Systems
│ │ │ ├── ApplicationPoStore.cs
│ │ │ └── ResourcePoStore.cs
│ └── UnitOfWorks
│ │ └── MySql
│ │ ├── AdminReadonlyUnitOfWork.cs
│ │ └── AdminUnitOfWork.cs
│ ├── Bing.Admin.Data.FreeSQL
│ ├── Bing.Admin.Data.FreeSQL.csproj
│ ├── CapConsumerServiceSelector.cs
│ ├── CapUnitOfWorkExtensions.cs
│ ├── Mappings
│ │ ├── Commons
│ │ │ └── MySql
│ │ │ │ ├── AreaMap.cs
│ │ │ │ ├── DictionaryMap.cs
│ │ │ │ ├── FileMap.cs
│ │ │ │ └── UserInfoMap.cs
│ │ └── Systems
│ │ │ └── MySql
│ │ │ ├── AdministratorMap.cs
│ │ │ ├── ApplicationPoMap.cs
│ │ │ ├── PermissionMap.cs
│ │ │ ├── ResourcePoMap.cs
│ │ │ ├── RoleMap.cs
│ │ │ ├── UserLoginLogMap.cs
│ │ │ ├── UserMap.cs
│ │ │ └── UserRoleMap.cs
│ ├── Repositories
│ │ ├── Commons
│ │ │ ├── AreaRepository.cs
│ │ │ ├── DictionaryRepository.cs
│ │ │ ├── FileRepository.cs
│ │ │ └── UserInfoRepository.cs
│ │ └── Systems
│ │ │ ├── AdministratorRepository.cs
│ │ │ ├── ApplicationRepository.cs
│ │ │ ├── ModuleRepository.cs
│ │ │ ├── OperationRepository.cs
│ │ │ ├── PermissionRepository.cs
│ │ │ ├── ResourceRepository.cs
│ │ │ ├── RoleRepository.cs
│ │ │ ├── UserLoginLogRepository.cs
│ │ │ └── UserRepository.cs
│ ├── Stores
│ │ └── Implements
│ │ │ └── Systems
│ │ │ ├── ApplicationPoStore.cs
│ │ │ └── ResourcePoStore.cs
│ └── UnitOfWorks
│ │ └── MySql
│ │ ├── AdminReadonlyUnitOfWork.cs
│ │ └── AdminUnitOfWork.cs
│ ├── Bing.Admin.Data
│ ├── Bing.Admin.Data.csproj
│ ├── IAdminReadonlyUnitOfWork.cs
│ ├── IAdminUnitOfWork.cs
│ ├── Pos
│ │ └── Systems
│ │ │ ├── ApplicationPo.cs
│ │ │ ├── Extensions
│ │ │ ├── Extension.ResourcePo.cs
│ │ │ └── Extensions.ApplicationPo.cs
│ │ │ ├── Models
│ │ │ ├── ApiResourceExtend.cs
│ │ │ ├── ApplicationExtend.cs
│ │ │ ├── IdentityResourceExtend.cs
│ │ │ ├── ModuleExtend.cs
│ │ │ └── OperationExtend.cs
│ │ │ └── ResourcePo.cs
│ ├── Seed
│ │ ├── AdministratorSeedDataInitializer.cs
│ │ ├── ApplicationSeedDataInitializer.cs
│ │ └── RoleSeedDataInitializer.cs
│ └── Stores
│ │ └── Abstractions
│ │ └── Systems
│ │ ├── IApplicationPoStore.cs
│ │ └── IResourcePoStore.cs
│ ├── Bing.Admin.Domain.Shared
│ ├── ApplicationCode.cs
│ ├── Bing.Admin.Domain.Shared.csproj
│ ├── Enums
│ │ ├── ApplicationType.cs
│ │ └── ResourceType.cs
│ ├── Results
│ │ └── SignInWithTokenResult.cs
│ └── RoleCode.cs
│ ├── Bing.Admin.EventHandlers
│ ├── Abstractions
│ │ ├── ITestMessageEventHandler.cs
│ │ └── Systems
│ │ │ └── IUserLoginLogMessageEventHandler.cs
│ ├── Bing.Admin.EventHandlers.csproj
│ └── Implements
│ │ ├── MessageEventHandlerBase.cs
│ │ ├── Systems
│ │ ├── UserLoginDomainEventHandler.cs
│ │ └── UserLoginLogMessageEventHandler.cs
│ │ └── TestMessageEventHandler.cs
│ ├── Bing.Admin.FreeSQL
│ ├── Apis
│ │ ├── Commons
│ │ │ ├── AreaController.cs
│ │ │ ├── DictionaryController.cs
│ │ │ ├── FileController.cs
│ │ │ └── UserInfoController.cs
│ │ ├── OAuthController.cs
│ │ ├── Systems
│ │ │ ├── AdministratorController.cs
│ │ │ ├── ApplicationController.cs
│ │ │ ├── ModuleController.cs
│ │ │ ├── OperationController.cs
│ │ │ ├── PermissionController.cs
│ │ │ ├── ResourceController.cs
│ │ │ ├── RoleController.cs
│ │ │ └── UserController.cs
│ │ ├── TestController.cs
│ │ └── TestQueryController.cs
│ ├── Bing.Admin.FreeSQL.csproj
│ ├── Configs
│ │ └── AdminMapperConfiguration.cs
│ ├── Modules
│ │ ├── AppModule.cs
│ │ ├── AuthenticationModule.cs
│ │ ├── CacheModule.cs
│ │ ├── CapModule.cs
│ │ ├── EntityFrameworkCoreModule.cs
│ │ ├── FreeSqlModule.cs
│ │ ├── LogModule.cs
│ │ ├── MapperModule.cs
│ │ ├── MySqlAdminUnitOfWorkMigrationModule.cs
│ │ └── SwaggerModule.cs
│ ├── Program.cs
│ ├── Properties
│ │ └── launchSettings.json
│ ├── Startup.cs
│ ├── appsettings.Development.json
│ ├── appsettings.json
│ └── nlog.config
│ ├── Bing.Admin.Infrastructure
│ ├── Bing.Admin.Infrastructure.csproj
│ ├── Encryptor
│ │ └── AesEncryptor.cs
│ ├── JwtClaimTypes.cs
│ ├── MessageEventConst.cs
│ └── QueueGroupConst.cs
│ ├── Bing.Admin.Service.Shared
│ ├── Bing.Admin.Service.Shared.csproj
│ ├── Dtos
│ │ ├── NgAlain
│ │ │ ├── AppData.cs
│ │ │ ├── AppInfo.cs
│ │ │ ├── ButtonInfo.cs
│ │ │ ├── MenuInfo.cs
│ │ │ ├── MenuResult.cs
│ │ │ ├── RoleInfo.cs
│ │ │ ├── TenantInfo.cs
│ │ │ ├── TenantSettingInfo.cs
│ │ │ └── UserInfo.cs
│ │ └── Systems
│ │ │ ├── ApplicationDto.cs
│ │ │ ├── Extensions
│ │ │ ├── Extensions.ApplicationDto.cs
│ │ │ └── Extensions.ModuleDto.cs
│ │ │ ├── ModuleDto.cs
│ │ │ ├── ModuleResult.cs
│ │ │ ├── OperationDto.cs
│ │ │ └── RoleDto.cs
│ ├── Queries
│ │ └── Systems
│ │ │ ├── AdministratorQuery.cs
│ │ │ ├── ApplicationQuery.cs
│ │ │ ├── PermissionQuery.cs
│ │ │ ├── ResourceQuery.cs
│ │ │ └── RoleQuery.cs
│ ├── Requests
│ │ └── Systems
│ │ │ ├── AdminLoginRequest.cs
│ │ │ ├── AdministratorCreateRequest.cs
│ │ │ ├── AdministratorUpdateRequest.cs
│ │ │ ├── CreateApplicationRequest.cs
│ │ │ ├── CreateModuleRequest.cs
│ │ │ ├── CreateOperationRequest.cs
│ │ │ ├── CreateRoleRequest.cs
│ │ │ ├── Extensions
│ │ │ ├── Extensions.AdministratorRequest.cs
│ │ │ └── Extensions.ModuleRequest.cs
│ │ │ ├── ResetPasswordRequest.cs
│ │ │ ├── SavePermissionRequest.cs
│ │ │ ├── SetUserRoleRequest.cs
│ │ │ ├── UpdateApplicationRequest.cs
│ │ │ ├── UpdateModuleRequest.cs
│ │ │ ├── UpdateOperationRequest.cs
│ │ │ ├── UpdatePasswordRequest.cs
│ │ │ ├── UpdateRoleRequest.cs
│ │ │ └── UserRoleRequest.cs
│ └── Responses
│ │ └── Systems
│ │ ├── AdministratorResponse.cs
│ │ ├── ButtonResponse.cs
│ │ ├── MenuResponse.cs
│ │ ├── ModuleResponse.cs
│ │ ├── RoleResponse.cs
│ │ ├── SelectMenuResult.cs
│ │ ├── SelectModuleResponse.cs
│ │ ├── SelectOperationResponse.cs
│ │ └── UserRoleResponse.cs
│ ├── Bing.Admin.Service
│ ├── Abstractions
│ │ ├── Commons
│ │ │ ├── IAreaService.cs
│ │ │ ├── IDictionaryService.cs
│ │ │ ├── IFileService.cs
│ │ │ ├── IQueryAreaService.cs
│ │ │ ├── IQueryDictionaryService.cs
│ │ │ ├── IQueryFileService.cs
│ │ │ ├── IQueryUserInfoService.cs
│ │ │ └── IUserInfoService.cs
│ │ ├── ISecurityService.cs
│ │ ├── ITestQueryService.cs
│ │ ├── ITestService.cs
│ │ └── Systems
│ │ │ ├── IAdministratorService.cs
│ │ │ ├── IApplicationService.cs
│ │ │ ├── IModuleService.cs
│ │ │ ├── IOperationService.cs
│ │ │ ├── IPermissionService.cs
│ │ │ ├── IQueryAdministratorService.cs
│ │ │ ├── IQueryApplicationService.cs
│ │ │ ├── IQueryModuleService.cs
│ │ │ ├── IQueryOperationService.cs
│ │ │ ├── IQueryPermissionService.cs
│ │ │ ├── IQueryResourceService.cs
│ │ │ ├── IQueryRoleService.cs
│ │ │ ├── IQueryUserLoginLogService.cs
│ │ │ ├── IQueryUserService.cs
│ │ │ ├── IResourceService.cs
│ │ │ ├── IRoleService.cs
│ │ │ ├── IUserLoginLogService.cs
│ │ │ └── IUserService.cs
│ ├── Bing.Admin.Service.csproj
│ ├── Extensions
│ │ └── Extensions.Service.cs
│ └── Implements
│ │ ├── Commons
│ │ ├── AreaService.cs
│ │ ├── DictionaryService.cs
│ │ ├── FileService.cs
│ │ ├── QueryAreaService.cs
│ │ ├── QueryDictionaryService.cs
│ │ ├── QueryFileService.cs
│ │ ├── QueryUserInfoService.cs
│ │ └── UserInfoService.cs
│ │ ├── SecurityService.cs
│ │ ├── Systems
│ │ ├── AdministratorService.cs
│ │ ├── ApplicationService.cs
│ │ ├── ModuleService.cs
│ │ ├── OperationService.cs
│ │ ├── PermissionService.cs
│ │ ├── QueryAdministratorService.cs
│ │ ├── QueryApplicationService.cs
│ │ ├── QueryModuleService.cs
│ │ ├── QueryOperationService.cs
│ │ ├── QueryPermissionService.cs
│ │ ├── QueryResourceService.cs
│ │ ├── QueryRoleService.cs
│ │ ├── QueryUserLoginLogService.cs
│ │ ├── QueryUserService.cs
│ │ ├── ResourceService.cs
│ │ ├── RoleService.cs
│ │ ├── UserLoginLogService.cs
│ │ └── UserService.cs
│ │ ├── TestQueryService.cs
│ │ └── TestService.cs
│ ├── Bing.Admin.Systems.Domain
│ ├── Bing.Admin.Systems.Domain.csproj
│ ├── DomainEvents
│ │ └── UserLoginDomainEvent.cs
│ ├── Events
│ │ ├── TestMessageEvent.cs
│ │ └── UserLoginMessageEvent.cs
│ ├── Models
│ │ ├── Administrator.Base.cs
│ │ ├── Administrator.cs
│ │ ├── Application.Base.cs
│ │ ├── Application.cs
│ │ ├── Module.Base.cs
│ │ ├── Module.cs
│ │ ├── Operation.Base.cs
│ │ ├── Operation.cs
│ │ ├── Permission.Base.cs
│ │ ├── Permission.cs
│ │ ├── Resource.Base.cs
│ │ ├── Resource.cs
│ │ ├── Role.Base.cs
│ │ ├── Role.cs
│ │ ├── User.Base.cs
│ │ ├── User.cs
│ │ ├── UserLoginLog.Base.cs
│ │ ├── UserLoginLog.cs
│ │ ├── UserRole.Base.cs
│ │ └── UserRole.cs
│ ├── Parameters
│ │ ├── Extensions
│ │ │ └── Extensions.UserParameter.cs
│ │ ├── UserLoginLogParameter.cs
│ │ └── UserParameter.cs
│ ├── Repositories
│ │ ├── IAdministratorRepository.cs
│ │ ├── IApplicationRepository.cs
│ │ ├── IModuleRepository.cs
│ │ ├── IOperationRepository.cs
│ │ ├── IPermissionRepository.cs
│ │ ├── IResourceRepository.cs
│ │ ├── IRoleRepository.cs
│ │ ├── IUserLoginLogRepository.cs
│ │ └── IUserRepository.cs
│ └── Services
│ │ ├── Abstractions
│ │ ├── IAdministratorManager.cs
│ │ ├── IApplicationManager.cs
│ │ ├── IPermissionManager.cs
│ │ ├── IResourceManager.cs
│ │ ├── IRoleManager.cs
│ │ ├── ISignInManager.cs
│ │ ├── IUserLoginLogManager.cs
│ │ ├── IUserManager.cs
│ │ └── IUserRoleManager.cs
│ │ └── Implements
│ │ ├── AdministratorManager.cs
│ │ ├── ApplicationManager.cs
│ │ ├── IdentityRoleManager.cs
│ │ ├── IdentitySignInManager.cs
│ │ ├── IdentityUserManager.cs
│ │ ├── PermissionManager.cs
│ │ ├── ResourceManager.cs
│ │ ├── RoleManager.cs
│ │ ├── SignInManager.cs
│ │ ├── UserLoginLogManager.cs
│ │ ├── UserManager.cs
│ │ └── UserRoleManager.cs
│ └── Bing.Admin
│ ├── Apis
│ ├── Commons
│ │ ├── AreaController.cs
│ │ ├── DictionaryController.cs
│ │ ├── FileController.cs
│ │ └── UserInfoController.cs
│ ├── OAuthController.cs
│ ├── Systems
│ │ ├── AdministratorController.cs
│ │ ├── ApplicationController.cs
│ │ ├── ModuleController.cs
│ │ ├── OperationController.cs
│ │ ├── PermissionController.cs
│ │ ├── ResourceController.cs
│ │ ├── RoleController.cs
│ │ └── UserController.cs
│ ├── TestController.cs
│ └── TestQueryController.cs
│ ├── Bing.Admin.csproj
│ ├── Configs
│ └── AdminMapperConfiguration.cs
│ ├── Jobs
│ └── DebugLogJob.cs
│ ├── Modules
│ ├── AppModule.cs
│ ├── AuthenticationModule.cs
│ ├── CacheModule.cs
│ ├── CapModule.cs
│ ├── EntityFrameworkCoreModule.cs
│ ├── HangfireModule.cs
│ ├── LogModule.cs
│ ├── MapperModule.cs
│ ├── MySqlAdminUnitOfWorkMigrationModule.cs
│ ├── SkyApmModule.cs
│ └── SwaggerModule.cs
│ ├── Program.cs
│ ├── Properties
│ └── launchSettings.json
│ ├── Startup.cs
│ ├── appsettings.Development.json
│ ├── appsettings.json
│ ├── nlog.config
│ └── skyapm.json
├── samples
├── Bing.Samples.Hangfire
│ ├── Bing.Samples.Hangfire.csproj
│ ├── Jobs
│ │ └── DebugLogJob.cs
│ ├── Modules
│ │ ├── AppModule.cs
│ │ ├── HangfireModule.cs
│ │ └── LogModule.cs
│ ├── Program.cs
│ ├── Properties
│ │ └── launchSettings.json
│ ├── Startup.cs
│ ├── appsettings.Development.json
│ ├── appsettings.json
│ └── nlog.config
├── Bing.Samples.WebApi
│ ├── Bing.Samples.WebApi.csproj
│ ├── Modules
│ │ └── AppModule.cs
│ ├── Program.cs
│ ├── Properties
│ │ └── launchSettings.json
│ ├── Startup.cs
│ ├── appsettings.Development.json
│ └── appsettings.json
└── Bing.Samples.Winform
│ ├── Bing.Samples.Winform.csproj
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Program.cs
│ └── appsettings.json
├── templates
├── CodeSmith
│ ├── CodeGenerator.sln
│ └── CodeGenerator
│ │ ├── 01-Templates
│ │ ├── Common
│ │ │ ├── Extensions.cs
│ │ │ ├── Generator.cs
│ │ │ ├── Model.cs
│ │ │ └── Parser.cs
│ │ ├── Templates.cst
│ │ └── Templates
│ │ │ ├── Datas
│ │ │ ├── IUnitOfWork.cst
│ │ │ ├── MySql
│ │ │ │ ├── Mapping.cst
│ │ │ │ └── UnitOfWork.cst
│ │ │ ├── PgSql
│ │ │ │ ├── Mapping.cst
│ │ │ │ └── UnitOfWork.cst
│ │ │ ├── Repository.cst
│ │ │ └── SqlServer
│ │ │ │ ├── Mapping.cst
│ │ │ │ └── UnitOfWork.cst
│ │ │ ├── Domains
│ │ │ ├── Entity.Base.cst
│ │ │ ├── Entity.cst
│ │ │ ├── Factory.cst
│ │ │ ├── IRepository.cst
│ │ │ ├── ItemGroup.cst
│ │ │ └── TreeEntity.cst
│ │ │ ├── PersistObjects
│ │ │ ├── Datas
│ │ │ │ ├── IStore.cst
│ │ │ │ ├── MySql
│ │ │ │ │ └── PoMapping.cst
│ │ │ │ ├── PgSql
│ │ │ │ │ └── PoMapping.cst
│ │ │ │ ├── Po.cst
│ │ │ │ ├── PoExtension.cst
│ │ │ │ ├── Repository.cst
│ │ │ │ ├── SqlServer
│ │ │ │ │ └── PoMapping.cst
│ │ │ │ ├── Store.cst
│ │ │ │ └── TreePo.cst
│ │ │ ├── Domains
│ │ │ │ └── IRepository.cst
│ │ │ └── Services
│ │ │ │ ├── Service.cst
│ │ │ │ └── TreeService.cst
│ │ │ ├── Presentation
│ │ │ ├── Controllers
│ │ │ │ ├── ApiController.cst
│ │ │ │ ├── Controller.cst
│ │ │ │ └── TreeApiController.cst
│ │ │ ├── Typings
│ │ │ │ ├── DetailComponent.cst
│ │ │ │ ├── EditComponent.cst
│ │ │ │ ├── IndexComponent.cst
│ │ │ │ ├── Module.cst
│ │ │ │ ├── Query.cst
│ │ │ │ ├── Routing.cst
│ │ │ │ ├── Trees
│ │ │ │ │ ├── TreeIndexComponent.cst
│ │ │ │ │ ├── TreeQuery.cst
│ │ │ │ │ └── TreeViewModel.cst
│ │ │ │ └── ViewModel.cst
│ │ │ └── Views
│ │ │ │ ├── DetailView.cst
│ │ │ │ ├── EditView.cst
│ │ │ │ ├── IndexView.cst
│ │ │ │ └── TreeIndexView.cst
│ │ │ ├── Services
│ │ │ ├── Dto.cst
│ │ │ ├── DtoExtension.cst
│ │ │ ├── IService.cst
│ │ │ ├── IocConfig.cst
│ │ │ ├── Query.cst
│ │ │ ├── Service.cst
│ │ │ └── Trees
│ │ │ │ ├── ITreeService.cst
│ │ │ │ ├── TreeDto.cst
│ │ │ │ ├── TreeQuery.cst
│ │ │ │ └── TreeService.cst
│ │ │ └── Tests
│ │ │ ├── DtoTest.cst
│ │ │ ├── EntityTest.Data.cst
│ │ │ ├── EntityTest.cst
│ │ │ └── ServiceTest.cst
│ │ ├── CodeGenerator.csproj
│ │ ├── Libraries
│ │ ├── CodeSmith.Core.dll
│ │ ├── CodeSmith.Core.xml
│ │ ├── CodeSmith.Engine.dll
│ │ ├── CodeSmith.Engine.xml
│ │ ├── EntityFramework.dll
│ │ ├── ICSharpCode.NRefactory.CSharp.dll
│ │ ├── ICSharpCode.NRefactory.dll
│ │ ├── Mono.Cecil.dll
│ │ ├── SchemaExplorer.dll
│ │ └── SchemaExplorer.xml
│ │ ├── Project.csp
│ │ └── Properties
│ │ └── AssemblyInfo.cs
└── Pd
│ └── Resource Files
│ └── DBMS
│ ├── mysql50.xdb
│ ├── pgsql9.xdb
│ └── sqlsv2012.xdb
├── tests
└── Bing.Tests.Samples
│ ├── Bing.Tests.Samples.csproj
│ └── Bing
│ └── Tests
│ ├── Samples
│ ├── AggregateRootSample.cs
│ ├── AutoMapperSourceSample.cs
│ ├── AutoMapperTargetSample.cs
│ ├── ConditionSample.cs
│ ├── CrudServiceSample.cs
│ ├── EnumSample.cs
│ ├── EventSample.cs
│ ├── IntAggregateRootSample.cs
│ ├── JsonTestSample.cs
│ ├── ParameterFormatterSample.cs
│ ├── PersistentObjectSample.cs
│ ├── QueryParameterSample.cs
│ ├── QueryServiceSample.cs
│ ├── RepositorySample.cs
│ ├── Role.cs
│ ├── Sample.cs
│ ├── Sample2.cs
│ ├── Sample3.cs
│ ├── Sample4.cs
│ ├── StringAggregateRootSample.cs
│ ├── TreeEntitySample.cs
│ ├── User.cs
│ ├── ValidateStrategySample.cs
│ ├── ValidationHandlerSample.cs
│ └── ValueObjectSample.cs
│ ├── TestBase.cs
│ ├── TestResource.Designer.cs
│ ├── TestResource.resx
│ └── XUnitHelpers
│ └── AssertHelper.cs
├── version.dev.props
└── version.props
/.github/ISSUE_TEMPLATE/feature_request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: 功能请求
3 | about: 为该项目提出一个改进建议
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 | ---
8 |
9 | **该功能请求是否与某个问题相关?请描述**
10 |
11 | 请简要清晰地描述这个问题。例如:每当我遇到 [...] 的时候,我总是感到困扰。
12 |
13 | **你期望的解决方案**
14 |
15 | 请简要清晰地描述你希望实现什么样的功能或行为。
16 |
17 | **你考虑过的替代方案**
18 |
19 | 请简要描述你曾考虑过的其他解决方案或替代功能。
20 |
21 | **其他补充信息**
22 |
23 | 请在此添加与功能请求相关的其他上下文信息或截图。
24 |
--------------------------------------------------------------------------------
/asset/images/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bing-framework/Bing.NetCore/997600fe6153a1c5fbfe62d4b3407d8970ae9fb1/asset/images/icon.png
--------------------------------------------------------------------------------
/asset/props/misc.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/asset/props/sourcelink.env.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Alibaba/AlibabaAuthorizationRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Alibaba
4 | {
5 | ///
6 | /// 阿里巴巴授权请求
7 | ///
8 | public class AlibabaAuthorizationRequest : AuthorizationParamBase
9 | {
10 | ///
11 | /// 授权站点
12 | ///
13 | public string Site { get; set; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Alibaba/Configs/AlibabaAuthorizationConfig.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Alibaba.Configs
4 | {
5 | ///
6 | /// 阿里巴巴授权配置
7 | ///
8 | public class AlibabaAuthorizationConfig : AuthorizationConfigBase
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Alibaba/Configs/IAlibabaAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Alibaba.Configs
4 | {
5 | ///
6 | /// 阿里巴巴授权配置提供程序
7 | ///
8 | public interface IAlibabaAuthorizationConfigProvider : IAuthorizationConfigProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Alibaba/IAlibabaAuthorizationProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Alibaba
4 | {
5 | ///
6 | /// 阿里巴巴授权提供程序
7 | ///
8 | public interface IAlibabaAuthorizationProvider : IAuthorizationUrlProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Baidu/Configs/IBaiduAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Baidu.Configs
4 | {
5 | ///
6 | /// 百度授权配置提供程序
7 | ///
8 | public interface IBaiduAuthorizationConfigProvider : IAuthorizationConfigProvider
9 |
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Baidu/IBaiduAuthorizationProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Baidu
4 | {
5 | ///
6 | /// 百度授权提供程序
7 | ///
8 | public interface IBaiduAuthorizationProvider : IAuthorizationUrlProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Coding/CodingAuthorizationRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Coding
4 | {
5 | ///
6 | /// Coding.NET 授权请求
7 | ///
8 | public class CodingAuthorizationRequest : AuthorizationParamBase
9 | {
10 | ///
11 | /// 申请的权限范围
12 | ///
13 | public string Scope { get; set; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Coding/CodingAuthorizationUserRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Coding
4 | {
5 | ///
6 | /// Coding.NET 授权用户请求
7 | ///
8 | public class CodingAuthorizationUserRequest : AuthorizationUserParamBase
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Coding/Configs/ICodingAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Coding.Configs
4 | {
5 | ///
6 | /// Coding.NET 授权配置提供程序
7 | ///
8 | public interface ICodingAuthorizationConfigProvider : IAuthorizationConfigProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Core/AuthorizationUserInfoResult.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Biz.OAuthLogin.Core
2 | {
3 | ///
4 | /// 用户信息结果
5 | ///
6 | public class AuthorizationUserInfoResult
7 | {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Core/AuthorizationUserParam.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Biz.OAuthLogin.Core
2 | {
3 | ///
4 | /// 授权用户参数
5 | ///
6 | public class AuthorizationUserParam : AuthorizationUserParamBase
7 | {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Core/IAuthorizationProvider.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Biz.OAuthLogin.Core
2 | {
3 | ///
4 | /// 授权提供程序
5 | ///
6 | public interface IAuthorizationProvider : IAuthorizationUrlProvider
7 | {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/DingTalk/Configs/DingTalkAuthorizationConfig.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.DingTalk.Configs
4 | {
5 | ///
6 | /// 钉钉授权配置
7 | ///
8 | public class DingTalkAuthorizationConfig : AuthorizationConfigBase
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/DingTalk/Configs/IDingTalkAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.DingTalk.Configs
4 | {
5 | ///
6 | /// 钉钉授权配置提供程序
7 | ///
8 | public interface IDingTalkAuthorizationConfigProvider : IAuthorizationConfigProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/DingTalk/DingTalkAuthorizationRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.DingTalk
4 | {
5 | ///
6 | /// 钉钉授权请求
7 | ///
8 | public class DingTalkAuthorizationRequest : AuthorizationParamBase
9 | {
10 | ///
11 | /// 申请的权限范围
12 | ///
13 | public string Scope { get; set; } = "snsapi_auth";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/DingTalk/IDingTalkAuthorizationProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.DingTalk
4 | {
5 | ///
6 | /// 钉钉授权提供程序
7 | ///
8 | public interface IDingTalkAuthorizationProvider : IAuthorizationUrlProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Facebook/Configs/FacebookAuthorizationConfig.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Facebook.Configs
4 | {
5 | ///
6 | /// Facebook 授权配置
7 | ///
8 | public class FacebookAuthorizationConfig : AuthorizationConfigBase
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Facebook/Configs/IFacebookAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Facebook.Configs
4 | {
5 | ///
6 | /// Facebooke 授权配置提供程序
7 | ///
8 | public interface IFacebookAuthorizationConfigProvider : IAuthorizationConfigProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Facebook/FacebookAuthorizationRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Facebook
4 | {
5 | ///
6 | /// Facebook 授权请求
7 | ///
8 | public class FacebookAuthorizationRequest : AuthorizationParamBase
9 | {
10 | ///
11 | /// 申请的权限范围
12 | ///
13 | public string Scope { get; set; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Facebook/IFacebookAuthorizationProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Facebook
4 | {
5 | ///
6 | /// Facebook 授权提供程序
7 | ///
8 | public interface IFacebookAuthorizationProvider : IAuthorizationUrlProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Gitee/Configs/IGiteeAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Gitee.Configs
4 | {
5 | ///
6 | /// Gitee 授权配置提供程序
7 | ///
8 | public interface IGiteeAuthorizationConfigProvider : IAuthorizationConfigProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Gitee/GiteeAuthorizationRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Gitee
4 | {
5 | ///
6 | /// Gitee 授权请求
7 | ///
8 | public class GiteeAuthorizationRequest : AuthorizationParamBase
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Gitee/GiteeAuthorizationUserRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Gitee
4 | {
5 | ///
6 | /// Gitee 授权用户请求
7 | ///
8 | public class GiteeAuthorizationUserRequest : AuthorizationUserParamBase
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Github/Configs/IGithubAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Github.Configs
4 | {
5 | ///
6 | /// Github授权配置提供程序
7 | ///
8 | public interface IGithubAuthorizationConfigProvider : IAuthorizationConfigProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Github/GithubAuthorizationUserRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Github
4 | {
5 | ///
6 | /// Github 授权用户请求
7 | ///
8 | public class GithubAuthorizationUserRequest : AuthorizationUserParamBase
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/IOAuthLoginFactory.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Biz.OAuthLogin
2 | {
3 | ///
4 | /// OAuth 登录工厂
5 | ///
6 | public interface IOAuthLoginFactory
7 | {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Jd/Configs/IJdAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Jd.Configs
4 | {
5 | ///
6 | /// 京东授权配置提供程序
7 | ///
8 | public interface IJdAuthorizationConfigProvider : IAuthorizationConfigProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Jd/Configs/JdAuthorizationConfig.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Jd.Configs
4 | {
5 | ///
6 | /// 京东授权配置
7 | ///
8 | public class JdAuthorizationConfig : AuthorizationConfigBase
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Jd/IJdAuthorizationProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Jd
4 | {
5 | ///
6 | /// 京东授权提供程序
7 | ///
8 | public interface IJdAuthorizationProvider : IAuthorizationUrlProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/MeiliShuo/Configs/IMeiliShuoAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.MeiliShuo.Configs
4 | {
5 | ///
6 | /// 美丽说授权配置提供程序
7 | ///
8 | public interface IMeiliShuoAuthorizationConfigProvider : IAuthorizationConfigProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/MeiliShuo/IMeiliShuoAuthorizationProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.MeiliShuo
4 | {
5 | ///
6 | /// 美丽说授权提供程序
7 | ///
8 | public interface IMeiliShuoAuthorizationProvider : IAuthorizationUrlProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/MeiliShuo/MeiliShuoAuthorizationRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.MeiliShuo
4 | {
5 | ///
6 | /// 美丽说授权请求
7 | ///
8 | public class MeiliShuoAuthorizationRequest : AuthorizationParamBase
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Microsoft/Configs/IMicrosoftAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Microsoft.Configs
4 | {
5 | ///
6 | /// Microsoft 授权配置提供程序
7 | ///
8 | public interface IMicrosoftAuthorizationConfigProvider : IAuthorizationConfigProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Microsoft/IMicrosoftAuthorizationProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Microsoft
4 | {
5 | ///
6 | /// Microsoft 授权提供程序
7 | ///
8 | public interface IMicrosoftAuthorizationProvider : IAuthorizationUrlProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Microsoft/MicrosoftAuthorizationRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Microsoft
4 | {
5 | ///
6 | /// Microsoft 授权请求
7 | ///
8 | public class MicrosoftAuthorizationRequest : AuthorizationParamBase
9 | {
10 | ///
11 | /// 申请的权限范围
12 | ///
13 | public string Scope { get; set; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/OsChina/Configs/IOsChinaAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.OsChina.Configs
4 | {
5 | ///
6 | /// 开源中国授权配置提供程序
7 | ///
8 | public interface IOsChinaAuthorizationConfigProvider : IAuthorizationConfigProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/OsChina/Configs/OsChinaAuthorizationConfig.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.OsChina.Configs
4 | {
5 | ///
6 | /// 开源中国授权配置
7 | ///
8 | public class OsChinaAuthorizationConfig : AuthorizationConfigBase
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/OsChina/IOsChinaAuthorizationProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.OsChina
4 | {
5 | ///
6 | /// 开源中国授权提供程序
7 | ///
8 | public interface IOsChinaAuthorizationProvider : IAuthorizationUrlProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/OsChina/OsChinaAuthorizationRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.OsChina
4 | {
5 | ///
6 | /// 开源中国授权请求
7 | ///
8 | public class OsChinaAuthorizationRequest : AuthorizationParamBase
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/QQ/Configs/IQQAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.QQ.Configs
4 | {
5 | ///
6 | /// QQ授权配置提供程序
7 | ///
8 | // ReSharper disable once InconsistentNaming
9 | public interface IQQAuthorizationConfigProvider : IAuthorizationConfigProvider
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/QQ/QQAuthorizationRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.QQ
4 | {
5 | ///
6 | /// QQ 授权请求
7 | ///
8 | public class QQAuthorizationRequest : AuthorizationParamBase
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Taobao/Configs/ITaobaoAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Taobao.Configs
4 | {
5 | ///
6 | /// 淘宝授权配置提供程序
7 | ///
8 | public interface ITaobaoAuthorizationConfigProvider : IAuthorizationConfigProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Taobao/Configs/TaobaoAuthorizationConfig.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Taobao.Configs
4 | {
5 | ///
6 | /// 淘宝授权配置
7 | ///
8 | public class TaobaoAuthorizationConfig : AuthorizationConfigBase
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Taobao/ITaobaoAuthorizationProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Taobao
4 | {
5 | ///
6 | /// 淘宝授权提供程序
7 | ///
8 | public interface ITaobaoAuthorizationProvider : IAuthorizationUrlProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Wechat/Configs/IWechatAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Wechat.Configs
4 | {
5 | ///
6 | /// 微信授权配置提供程序
7 | ///
8 | public interface IWechatAuthorizationConfigProvider : IAuthorizationConfigProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Wechat/WechatAuthorizationRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Wechat
4 | {
5 | ///
6 | /// 微信授权请求
7 | ///
8 | public class WechatAuthorizationRequest : AuthorizationParamBase
9 | {
10 | ///
11 | /// 申请的权限范围
12 | ///
13 | public string Scope { get; set; } = "snsapi_login";
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Weibo/Configs/IWeiboAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Weibo.Configs
4 | {
5 | ///
6 | /// 微博授权配置提供程序
7 | ///
8 | public interface IWeiboAuthorizationConfigProvider : IAuthorizationConfigProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Youzan/Configs/IYouzanAuthorizationConfigProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Youzan.Configs
4 | {
5 | ///
6 | /// 有赞授权配置提供程序
7 | ///
8 | public interface IYouzanAuthorizationConfigProvider : IAuthorizationConfigProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Youzan/Configs/YouzanAuthorizationConfig.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Youzan.Configs
4 | {
5 | ///
6 | /// 有赞授权配置
7 | ///
8 | public class YouzanAuthorizationConfig : AuthorizationConfigBase
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Youzan/IYouzanAuthorizationProvider.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Youzan
4 | {
5 | ///
6 | /// 有赞授权提供程序
7 | ///
8 | public interface IYouzanAuthorizationProvider : IAuthorizationUrlProvider
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.OAuthLogin/Youzan/YouzanAuthorizationRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.OAuthLogin.Core;
2 |
3 | namespace Bing.Biz.OAuthLogin.Youzan
4 | {
5 | ///
6 | /// 有赞授权请求
7 | ///
8 | public class YouzanAuthorizationRequest : AuthorizationParamBase
9 | {
10 | ///
11 | /// 申请的权限范围
12 | ///
13 | public string Scope { get; set; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Alipay/Abstractions/IAlipayAppPayService.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.Payments.Alipay.Parameters.Requests;
2 |
3 | namespace Bing.Biz.Payments.Alipay.Abstractions;
4 |
5 | ///
6 | /// 支付宝App支付服务
7 | ///
8 | public interface IAlipayAppPayService
9 | {
10 | ///
11 | /// 支付
12 | ///
13 | /// 支付参数
14 | Task PayAsync(AlipayAppPayRequest request);
15 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Alipay/Abstractions/IAlipayNotifyService.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.Payments.Core;
2 |
3 | namespace Bing.Biz.Payments.Alipay.Abstractions;
4 |
5 | ///
6 | /// 支付宝通知服务
7 | ///
8 | public interface IAlipayNotifyService : INotifyService
9 | {
10 | ///
11 | /// 买家支付宝用户号
12 | ///
13 | string BuyerId { get; }
14 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Alipay/Configs/IAlipayConfigProvider.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Biz.Payments.Alipay.Configs;
2 |
3 | ///
4 | /// 支付宝配置提供器
5 | ///
6 | public interface IAlipayConfigProvider
7 | {
8 | ///
9 | /// 获取配置
10 | ///
11 | ///
12 | Task GetConfigAsync();
13 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Alipay/Parameters/Requests/AlipayAppPayRequest.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Biz.Payments.Alipay.Parameters.Requests;
2 |
3 | ///
4 | /// 支付宝App支付参数
5 | ///
6 | public class AlipayAppPayRequest : AlipayRequestBase
7 | {
8 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Alipay/Parameters/Requests/AlipayBarcodePayRequest.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Biz.Payments.Alipay.Parameters.Requests;
2 |
3 | ///
4 | /// 支付宝条码支付参数
5 | ///
6 | public class AlipayBarcodePayRequest : AlipayRequestBase
7 | {
8 | ///
9 | /// 用户付款授权码
10 | ///
11 | public string AuthCode { get; set; }
12 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Alipay/Parameters/Requests/AlipayPagePayRequest.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Biz.Payments.Alipay.Parameters.Requests;
2 |
3 | ///
4 | /// 支付宝电脑网站支付参数
5 | ///
6 | public class AlipayPagePayRequest : AlipayRequestBase
7 | {
8 | ///
9 | /// 返回地址
10 | ///
11 | public string ReturnUrl { get; set; }
12 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Alipay/Parameters/Requests/AlipayPrecreateRequest.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Biz.Payments.Alipay.Parameters.Requests;
2 |
3 | ///
4 | /// 支付宝预创建支付参数
5 | ///
6 | public class AlipayPrecreateRequest : AlipayRequestBase
7 | {
8 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Alipay/Parameters/Requests/AlipayRequestBase.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.Payments.Core;
2 |
3 | namespace Bing.Biz.Payments.Alipay.Parameters.Requests;
4 |
5 | ///
6 | /// 支付宝支付参数基类
7 | ///
8 | public class AlipayRequestBase : PayParamBase
9 | {
10 | ///
11 | /// 支付宝订单付款超时时间。单位:分钟,默认为90分钟
12 | ///
13 | public int Timeout { get; set; } = 90;
14 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Alipay/Parameters/Requests/AlipayWapPayRequest.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Biz.Payments.Alipay.Parameters.Requests;
2 |
3 | ///
4 | /// 支付宝手机网站支付参数
5 | ///
6 | public class AlipayWapPayRequest : AlipayRequestBase
7 | {
8 | ///
9 | /// 返回地址
10 | ///
11 | public string ReturnUrl { get; set; }
12 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Bing.Biz.Payments.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | True
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Core/DownloadBillWay.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Biz.Payments.Core;
2 |
3 | ///
4 | /// 下载对账单方式
5 | ///
6 | public enum DownloadBillWay
7 | {
8 | WechatAllBill,
9 | WechatSuccessBill,
10 | WechatRefundBill,
11 | WechatRechargeRefund,
12 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Core/IPayService.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Biz.Payments.Core;
2 |
3 | ///
4 | /// 支付服务
5 | ///
6 | public interface IPayService
7 | {
8 | ///
9 | /// 支付
10 | ///
11 | /// 支付参数
12 | Task PayAsync(PayParam param);
13 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Wechatpay/Abstractions/IWechatpayNotifyService.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.Payments.Core;
2 |
3 | namespace Bing.Biz.Payments.Wechatpay.Abstractions;
4 |
5 | ///
6 | /// 微信支付通知服务
7 | ///
8 | public interface IWechatpayNotifyService : INotifyService
9 | {
10 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Wechatpay/Configs/IWechatpayConfigProvider.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Biz.Payments.Wechatpay.Configs;
2 |
3 | ///
4 | /// 微信支付配置提供程序
5 | ///
6 | public interface IWechatpayConfigProvider
7 | {
8 | ///
9 | /// 获取配置
10 | ///
11 | /// 参数
12 | Task GetConfigAsync(object parameter = null);
13 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Wechatpay/Parameters/Requests/WechatpayAppPayRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.Payments.Core;
2 |
3 | namespace Bing.Biz.Payments.Wechatpay.Parameters.Requests;
4 |
5 | ///
6 | /// 微信App支付参数
7 | ///
8 | public class WechatpayAppPayRequest : PayParamBase
9 | {
10 | ///
11 | /// 附加数据,通知时原样返回
12 | ///
13 | public string Attach { get; set; }
14 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Wechatpay/Parameters/Requests/WechatpayH5PayRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.Payments.Core;
2 |
3 | namespace Bing.Biz.Payments.Wechatpay.Parameters.Requests;
4 |
5 | ///
6 | /// 微信H5支付参数
7 | ///
8 | public class WechatpayH5PayRequest : PayParamBase
9 | {
10 | ///
11 | /// 附加数据,通知原样返回
12 | ///
13 | public string Attach { get; set; }
14 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Wechatpay/Parameters/Requests/WechatpayNativePayRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.Payments.Core;
2 |
3 | namespace Bing.Biz.Payments.Wechatpay.Parameters.Requests;
4 |
5 | ///
6 | /// 微信扫码支付参数
7 | ///
8 | public class WechatpayNativePayRequest : PayParamBase
9 | {
10 | ///
11 | /// 附加数据,通知时原样返回
12 | ///
13 | public string Attach { get; set; }
14 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz.Payments/Wechatpay/Parameters/Requests/WechatpayPaymentCodePayRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Biz.Payments.Core;
2 |
3 | namespace Bing.Biz.Payments.Wechatpay.Parameters.Requests;
4 |
5 | ///
6 | /// 微信条码支付参数
7 | ///
8 | public class WechatpayPaymentCodePayRequest : PayParamBase
9 | {
10 | ///
11 | /// 用户付款授权码
12 | ///
13 | public string AuthCode { get; set; }
14 | }
--------------------------------------------------------------------------------
/components/src/Bing.Biz/Bing.Biz.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz/Bing/Biz/Addresses/NullAddress.cs:
--------------------------------------------------------------------------------
1 | using System.ComponentModel.DataAnnotations.Schema;
2 |
3 | namespace Bing.Biz.Addresses;
4 |
5 | ///
6 | /// 空地址
7 | ///
8 | [NotMapped]
9 | public class NullAddress : Address
10 | {
11 | }
12 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz/project.dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/components/src/Bing.Biz/project.props:
--------------------------------------------------------------------------------
1 |
2 |
3 | netstandard2.0
4 |
5 | Bing.Biz是Bing应用框架的公共业务基础类库。
6 | Bing是一个.net core平台下的应用框架,旨在于提升小型团队的开发能力,由常用公共操作类、架构基类、第三方组件封装、第三方业务接口封装等组成。
7 |
8 |
9 |
--------------------------------------------------------------------------------
/components/tests/Bing.Biz.Payments.Tests/Bing.Biz.Payments.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 | false
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/components/tests/Bing.Biz.Payments.Tests/TestConst.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Biz.Payments.Tests;
2 |
3 | ///
4 | /// 测试常量
5 | ///
6 | public class TestConst
7 | {
8 | ///
9 | /// 测试时间
10 | ///
11 | public const string Time = "2010-10-10 10:10:10:10";
12 | }
--------------------------------------------------------------------------------
/docs/api/.gitignore:
--------------------------------------------------------------------------------
1 | ###############
2 | # temp file #
3 | ###############
4 | *.yml
5 | .manifest
--------------------------------------------------------------------------------
/docs/api/index.md:
--------------------------------------------------------------------------------
1 | # PLACEHOLDER
2 |
3 | TODO: Add .NET projects to the *src* folder and run `docfx` to generate **REAL** *API Documentation*!
--------------------------------------------------------------------------------
/docs/toc.yml:
--------------------------------------------------------------------------------
1 | - name: 主页
2 | href: index.md
3 | - name: API 文档
4 | href: api/
5 | - name: 发行说明
6 | href: ReleaseNotes.md
7 | - name: Github
8 | href: https://github.com/bing-framework/Bing.NetCore
--------------------------------------------------------------------------------
/documents/Bing框架.xmind:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bing-framework/Bing.NetCore/997600fe6153a1c5fbfe62d4b3407d8970ae9fb1/documents/Bing框架.xmind
--------------------------------------------------------------------------------
/documents/数据库设计/Bing框架设计.sws:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/framework.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/framework/src/Bing.Aop.AspectCore/Bing/Aspects/AutowiredAttribute.cs:
--------------------------------------------------------------------------------
1 | using AspectCore.DependencyInjection;
2 |
3 | namespace Bing.Aspects;
4 |
5 | ///
6 | /// 属性注入 属性
7 | ///
8 | [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
9 | public class AutowiredAttribute : FromServiceContextAttribute
10 | {
11 | }
12 |
--------------------------------------------------------------------------------
/framework/src/Bing.Aop.AspectCore/Bing/Aspects/IAopProxy.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Aspects;
2 |
3 | ///
4 | /// Aop代理标记
5 | ///
6 | public interface IAopProxy
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Aop.AspectCore/Bing/Aspects/IgnoreAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Aspects;
2 |
3 | ///
4 | /// 忽略拦截 属性
5 | ///
6 | public class IgnoreAttribute : AspectCore.DynamicProxy.NonAspectAttribute
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Aop.AspectCore/Bing/Aspects/InterceptorBase.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Aspects;
2 |
3 | ///
4 | /// 拦截器基类
5 | ///
6 | public abstract class InterceptorBase : AspectCore.DynamicProxy.AbstractInterceptorAttribute
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Aop.AspectCore/Bing/Aspects/ParameterInterceptorBase.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Aspects;
2 |
3 | ///
4 | /// 参数拦截器基类
5 | ///
6 | public abstract class ParameterInterceptorBase : AspectCore.DynamicProxy.Parameters.ParameterInterceptorAttribute
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Aop.AspectCore/global-usings.cs:
--------------------------------------------------------------------------------
1 | #if NETSTANDARD
2 | global using System;
3 | global using System.Collections.Generic;
4 | global using System.IO;
5 | global using System.Linq;
6 | global using System.Threading;
7 | global using System.Threading.Tasks;
8 | #endif
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore.Authentication.JwtBearer/Bing/AspNetCore/Authorization/JwtBearer/JwtAuthorizeAttribute.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.AspNetCore.Authorization;
2 |
3 | namespace Bing.AspNetCore.Authorization.JwtBearer;
4 |
5 | ///
6 | /// Jwt授权
7 | ///
8 | public class JwtAuthorizeAttribute : AuthorizeAttribute
9 | {
10 | }
11 |
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore.Authentication.JwtBearer/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore.Mvc.Contracts/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore.Mvc.Contracts/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore.Mvc.UI/Bing/AspNetCore/Mvc/UI/RazorPages/IRazorHtmlGenerator.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.AspNetCore.Mvc.UI.RazorPages;
2 |
3 | ///
4 | /// Razor Html生成器
5 | ///
6 | public interface IRazorHtmlGenerator
7 | {
8 | ///
9 | /// 生成Html文件
10 | ///
11 | Task Generate();
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore.Mvc.UI/Bing/AspNetCore/Mvc/UI/RazorPages/IRouteAnalyzer.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.AspNetCore.Mvc.UI.RazorPages;
2 |
3 | ///
4 | /// 路由分析器
5 | ///
6 | public interface IRouteAnalyzer
7 | {
8 | ///
9 | /// 获取所有路由信息
10 | ///
11 | IEnumerable GetAllRouteInformations();
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore.Mvc.UI/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore.Mvc.UI/project.props:
--------------------------------------------------------------------------------
1 |
2 |
3 | netstandard2.0;netcoreapp3.1;
4 |
5 |
6 |
7 | Bing.AspNetCore.Mvc.UI
8 | Bing.AspNetCore.Mvc.UI
9 | Bing.AspNetCore.Mvc.UI 组件,提供MVC关于RazorPage相关功能。
10 |
11 |
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore.Mvc.UI/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore.Mvc/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore.Mvc/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore.Serilog/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore.Serilog/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore/Bing/AspNetCore/ExceptionHandling/BingAuthorizationExceptionHandlerOptions.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.AspNetCore.ExceptionHandling;
2 |
3 | ///
4 | /// 授权异常处理器选项配置
5 | ///
6 | public class BingAuthorizationExceptionHandlerOptions
7 | {
8 | ///
9 | /// 认证方案
10 | ///
11 | public string AuthenticationScheme { get; set; }
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore/Bing/AspNetCore/Filters/IBingFilter.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.AspNetCore.Filters;
2 |
3 | ///
4 | /// 定义过滤器
5 | ///
6 | public interface IBingFilter;
7 |
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore/Bing/AspNetCore/Logs/IRequestResponseLogCreator.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.AspNetCore.Logs;
2 |
3 | ///
4 | /// 请求响应日志创建者
5 | ///
6 | public interface IRequestResponseLogCreator
7 | {
8 | ///
9 | /// 请求响应日志
10 | ///
11 | RequestResponseLog Log { get; }
12 |
13 | ///
14 | /// 输出Json字符串
15 | ///
16 | string ToJsonString();
17 | }
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore/Bing/AspNetCore/Logs/IRequestResponseLogger.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.AspNetCore.Logs;
2 |
3 | ///
4 | /// 请求响应记录器
5 | ///
6 | public interface IRequestResponseLogger
7 | {
8 | ///
9 | /// 写入日志
10 | ///
11 | /// 请求响应日志创建者
12 | void Log(IRequestResponseLogCreator logCreator);
13 | }
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore/Bing/AspNetCore/Mvc/AnonymousApiController.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.AspNetCore.Authorization;
2 |
3 | namespace Bing.AspNetCore.Mvc;
4 |
5 | ///
6 | /// 允许匿名访问API控制器基类
7 | ///
8 | [AllowAnonymous]
9 | public class AnonymousApiController : ApiControllerBase
10 | {
11 | }
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore/Bing/AspNetCore/Mvc/ApiControllerBase.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.AspNetCore.Mvc;
2 |
3 | namespace Bing.AspNetCore.Mvc;
4 |
5 | ///
6 | /// WebApi 控制器基类
7 | ///
8 | [ApiController]
9 | [Route("api/[controller]")]
10 | public class ApiControllerBase : BingControllerBase
11 | {
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore/Bing/AspNetCore/Mvc/AreaApiControllerBase.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.AspNetCore.Mvc;
2 |
3 | namespace Bing.AspNetCore.Mvc;
4 |
5 | ///
6 | /// WebApi的区域控制器基类
7 | ///
8 | [ApiController]
9 | [Route("api/[area]/[controller]/[action]")]
10 | public abstract class AreaApiControllerBase : BingControllerBase
11 | {
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore/Bing/AspNetCore/Mvc/Filters/IgnoreResultHandlerAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.AspNetCore.Mvc.Filters;
2 |
3 | ///
4 | /// 忽略响应结果处理
5 | ///
6 | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = false)]
7 | public class IgnoreResultHandlerAttribute : Attribute
8 | {
9 | }
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore/Bing/AspNetCore/Mvc/NullJsonResult.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.AspNetCore.Mvc;
2 |
3 | namespace Bing.AspNetCore.Mvc;
4 |
5 | ///
6 | /// 空JSON结果
7 | ///
8 | public class NullJsonResult : JsonResult
9 | {
10 | ///
11 | /// 初始化一个类型的实例
12 | ///
13 | public NullJsonResult() : base(null)
14 | {
15 | }
16 | }
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore/Bing/Http/BingHttpConst.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Http;
2 |
3 | ///
4 | /// Http常量
5 | ///
6 | public static class BingHttpConst
7 | {
8 | ///
9 | /// 错误格式
10 | ///
11 | public const string BingErrorFormat = "_BingErrorFormat";
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.AspNetCore/Microsoft/AspNetCore/Http/BingFormFileExtensions.cs:
--------------------------------------------------------------------------------
1 | namespace Microsoft.AspNetCore.Http;
2 |
3 | ///
4 | /// 表单文件() 扩展
5 | ///
6 | public static class BingFormFileExtensions
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing.Contracts/Bing/Auditing/IAuditedObject.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 操作审计对象
5 | ///
6 | public interface IAuditedObject : ICreationAuditedObject, IModificationAuditedObject { }
7 |
8 | ///
9 | /// 操作审计对象
10 | ///
11 | /// 标识类型
12 | public interface IAuditedObject : ICreationAuditedObject, IModificationAuditedObject { }
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing.Contracts/Bing/Auditing/ICreationAuditedObjectWithName.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 创建操作审计对象
5 | ///
6 | public interface ICreationAuditedObjectWithName : ICreationAuditedObject, IHasCreator { }
7 |
8 | ///
9 | /// 创建操作审计对象
10 | ///
11 | /// 标识类型
12 | public interface ICreationAuditedObjectWithName : ICreationAuditedObject, IHasCreator { }
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing.Contracts/Bing/Auditing/IDeletionAuditedObjectWithName.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 删除操作审计对象
5 | ///
6 | public interface IDeletionAuditedObjectWithName : IDeletionAuditedObject, IHasDeleter { }
7 |
8 | ///
9 | /// 删除操作审计对象
10 | ///
11 | /// 标识类型
12 | public interface IDeletionAuditedObjectWithName : IDeletionAuditedObject, IHasDeleter { }
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing.Contracts/Bing/Auditing/IFullAuditedObject.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 完整操作审计对象
5 | ///
6 | public interface IFullAuditedObject : IAuditedObject, IDeletionAuditedObject { }
7 |
8 | ///
9 | /// 完整操作审计对象
10 | ///
11 | /// 标识类型
12 | public interface IFullAuditedObject : IAuditedObject, IDeletionAuditedObject { }
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing.Contracts/Bing/Auditing/IHasCreationTime.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 创建时间
5 | ///
6 | public interface IHasCreationTime
7 | {
8 | ///
9 | /// 创建时间
10 | ///
11 | DateTime? CreationTime { get; set; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing.Contracts/Bing/Auditing/IHasCreator.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 创建人
5 | ///
6 | public interface IHasCreator : IHasCreator { }
7 |
8 | ///
9 | /// 创建人
10 | ///
11 | public interface IHasCreator
12 | {
13 | ///
14 | /// 创建人
15 | ///
16 | TCreator Creator { get; set; }
17 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing.Contracts/Bing/Auditing/IHasDeleter.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 删除人
5 | ///
6 | public interface IHasDeleter : IHasDeleter { }
7 |
8 | ///
9 | /// 删除人
10 | ///
11 | public interface IHasDeleter
12 | {
13 | ///
14 | /// 删除人
15 | ///
16 | TDeleter Deleter { get; set; }
17 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing.Contracts/Bing/Auditing/IHasDeletionTime.cs:
--------------------------------------------------------------------------------
1 | using Bing.Data;
2 |
3 | namespace Bing.Auditing;
4 |
5 | ///
6 | /// 删除时间
7 | ///
8 | public interface IHasDeletionTime : ISoftDelete
9 | {
10 | ///
11 | /// 删除时间
12 | ///
13 | DateTime? DeletionTime { get; set; }
14 | }
15 |
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing.Contracts/Bing/Auditing/IHasModificationTime.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 修改时间
5 | ///
6 | public interface IHasModificationTime
7 | {
8 | ///
9 | /// 最后修改时间
10 | ///
11 | DateTime? LastModificationTime { get; set; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing.Contracts/Bing/Auditing/IHasModifier.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 定义修改人
5 | ///
6 | public interface IHasModifier : IHasModifier { }
7 |
8 | ///
9 | /// 定义修改人
10 | ///
11 | public interface IHasModifier
12 | {
13 | ///
14 | /// 最后修改人
15 | ///
16 | TModifier LastModifier { get; set; }
17 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing.Contracts/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing.Contracts/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing/Bing/Auditing/DisableAuditingAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 禁用审计 特性
5 | ///
6 | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property)]
7 | public class DisableAuditingAttribute : Attribute
8 | {
9 | }
10 |
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing/Bing/Auditing/IAuditLogSaveHandle.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 审计日志保存处理
5 | ///
6 | public interface IAuditLogSaveHandle : IDisposable
7 | {
8 | ///
9 | /// 保存
10 | ///
11 | Task SaveAsync();
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing/Bing/Auditing/IAuditLogScope.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 审计日志作用域
5 | ///
6 | public interface IAuditLogScope
7 | {
8 | ///
9 | /// 审计日志
10 | ///
11 | AuditLogInfo Log { get; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing/Bing/Auditing/IAuditSerializer.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 审计序列化器
5 | ///
6 | public interface IAuditSerializer
7 | {
8 | ///
9 | /// 序列化
10 | ///
11 | /// 对象
12 | ///
13 | string Serialize(object obj);
14 | }
15 |
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing/Bing/Auditing/IAuditingEnabled.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 启用审计
5 | ///
6 | public interface IAuditingEnabled { }
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing/Bing/Auditing/IAuditingManager.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 审计日志管理器
5 | ///
6 | public interface IAuditingManager
7 | {
8 | ///
9 | /// 当前审计日志作用域
10 | ///
11 | IAuditLogScope Current { get; }
12 |
13 | ///
14 | /// 开始作用范围
15 | ///
16 | IAuditLogSaveHandle BeginScope();
17 | }
18 |
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing/Bing/Auditing/IAuditingStore.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Auditing;
2 |
3 | ///
4 | /// 审计日志存储器
5 | ///
6 | public interface IAuditingStore
7 | {
8 | ///
9 | /// 保存
10 | ///
11 | /// 审计日志信息
12 | Task SaveAsync(AuditLogInfo auditInfo);
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/framework/src/Bing.Auditing/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/framework/src/Bing.Authorization.Abstractions/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/framework/src/Bing.Caching/Bing/Caching/CacheOptions.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Caching;
2 |
3 | ///
4 | /// 缓存配置
5 | ///
6 | public class CacheOptions
7 | {
8 | ///
9 | /// 过期时间间隔,默认值:8小时
10 | ///
11 | public TimeSpan? Expiration { get; set; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Caching/Bing/Caching/ILocalCache.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Caching;
2 |
3 | ///
4 | /// 本地缓存
5 | ///
6 | public interface ILocalCache : ICache
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Caching/Bing/Caching/IRedisCache.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Caching;
2 |
3 | ///
4 | /// Redis缓存
5 | ///
6 | public interface IRedisCache : ICache
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Aspects/IgnoreAspectAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Aspects;
2 |
3 | ///
4 | /// 忽略拦截 特性
5 | ///
6 | /// 主要针对于使用第三方AOP的时候,内置接口需要忽略拦截器处理。
7 | [AttributeUsage(AttributeTargets.Interface | AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
8 | public class IgnoreAspectAttribute : Attribute
9 | {
10 | }
11 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Caching/CacheType.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Caching;
2 |
3 | ///
4 | /// 缓存类型
5 | ///
6 | public class CacheType
7 | {
8 | ///
9 | /// 内存
10 | ///
11 | public const string Memory = nameof(Memory);
12 |
13 | ///
14 | /// Redis
15 | ///
16 | public const string Redis = nameof(Redis);
17 | }
18 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Core/Data/IGetObject.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Core.Data;
2 |
3 | ///
4 | /// 获取对象
5 | ///
6 | /// 对象类型
7 | public interface IGetObject
8 | {
9 | ///
10 | /// 获取对象
11 | ///
12 | T Get();
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Core/Data/IGetable.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Core.Data;
2 |
3 | ///
4 | /// 可获取
5 | ///
6 | /// 键类型
7 | /// 值类型
8 | public interface IGetable
9 | {
10 | ///
11 | /// 根据键获取值
12 | ///
13 | /// 键
14 | TValue Get(TKey key);
15 | }
16 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Core/Data/IReader.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Core.Data;
2 |
3 | ///
4 | /// 读取
5 | ///
6 | /// 数据类型
7 | public interface IReader
8 | {
9 | ///
10 | /// 读取
11 | ///
12 | T Reader();
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Core/Data/IReaderAll.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Core.Data;
2 |
3 | ///
4 | /// 读取全部
5 | ///
6 | /// 数据类型
7 | public interface IReaderAll
8 | {
9 | ///
10 | /// 读取全部
11 | ///
12 | IList ReaderAll();
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Core/Data/IReaderDictionary.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Core.Data;
2 |
3 | ///
4 | /// 读取字典
5 | ///
6 | /// 键类型
7 | /// 值类型
8 | public interface IReaderDictionary
9 | {
10 | ///
11 | /// 读取
12 | ///
13 | /// 键
14 | TValue Reader(TKey key);
15 | }
16 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Core/Modularity/IBingModuleTypeFinder.cs:
--------------------------------------------------------------------------------
1 | using Bing.Reflection;
2 |
3 | namespace Bing.Core.Modularity;
4 |
5 | ///
6 | /// Bing 模块类型查找器
7 | ///
8 | public interface IBingModuleTypeFinder : ITypeFinder
9 | {
10 | }
11 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Core/Modularity/IDependedTypesProvider.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Core.Modularity;
2 |
3 | ///
4 | /// 依赖类型提供程序
5 | ///
6 | public interface IDependedTypesProvider
7 | {
8 | ///
9 | /// 获取依赖类型
10 | ///
11 | Type[] GetDependedTypes();
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Data/IDataKey.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data;
2 |
3 | ///
4 | /// 数据标识
5 | ///
6 | public interface IDataKey
7 | {
8 | ///
9 | /// 标识
10 | ///
11 | string Id { get; set; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Data/ISoftDelete.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data;
2 |
3 | ///
4 | /// 逻辑删除
5 | ///
6 | public interface ISoftDelete
7 | {
8 | ///
9 | /// 是否已删除
10 | ///
11 | bool IsDeleted { get; set; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/DependencyInjection/ICachedServiceProvider.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Extensions.DependencyInjection;
2 |
3 | namespace Bing.DependencyInjection;
4 |
5 | ///
6 | /// 缓存服务提供程序,缓存包含了 、。
7 | /// 该服务的生命周期为 。
8 | ///
9 | public interface ICachedServiceProvider : ICachedServiceProviderBase
10 | {
11 | }
12 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/DependencyInjection/IDependencyTypeFinder.cs:
--------------------------------------------------------------------------------
1 | using Bing.Reflection;
2 |
3 | namespace Bing.DependencyInjection;
4 |
5 | ///
6 | /// 依赖注入类型查找器。查找标注了特性,或者, , 三个接口的服务实现类型
7 | ///
8 | public interface IDependencyTypeFinder : ITypeFinder
9 | {
10 | }
11 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/DependencyInjection/IHybridServiceScopeFactory.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Extensions.DependencyInjection;
2 |
3 | namespace Bing.DependencyInjection;
4 |
5 | ///
6 | /// 混合服务作用域工厂
7 | ///
8 | public interface IHybridServiceScopeFactory : IServiceScopeFactory
9 | {
10 | }
11 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/DependencyInjection/IObjectAccessor.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.DependencyInjection;
2 |
3 | ///
4 | /// 对象访问器
5 | ///
6 | /// 类型
7 | public interface IObjectAccessor
8 | {
9 | ///
10 | /// 值
11 | ///
12 | T Value { get; }
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/DependencyInjection/IScopedDependency.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Extensions.DependencyInjection;
2 |
3 | namespace Bing.DependencyInjection;
4 |
5 | ///
6 | /// 实现此接口的类型将注册为 模式
7 | ///
8 | /// 生命周期为每次请求创建一个实例
9 | [IgnoreDependency]
10 | public interface IScopedDependency
11 | {
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/DependencyInjection/IServiceProviderAccessor.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.DependencyInjection;
2 |
3 | ///
4 | /// 服务提供程序访问器
5 | ///
6 | public interface IServiceProviderAccessor
7 | {
8 | ///
9 | /// 服务提供程序
10 | ///
11 | IServiceProvider ServiceProvider { get; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/DependencyInjection/ISingletonDependency.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Extensions.DependencyInjection;
2 |
3 | namespace Bing.DependencyInjection;
4 |
5 | ///
6 | /// 实现此接口的类型将注册为 模式
7 | ///
8 | /// 生命周期为单例
9 | [IgnoreDependency]
10 | public interface ISingletonDependency
11 | {
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/DependencyInjection/ITransientCachedServiceProvider.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Extensions.DependencyInjection;
2 |
3 | namespace Bing.DependencyInjection;
4 |
5 | ///
6 | /// 瞬时缓存服务提供程序,缓存包含了 。
7 | /// 该服务的生命周期为 。
8 | ///
9 | public interface ITransientCachedServiceProvider:ICachedServiceProviderBase
10 | {
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/DependencyInjection/ITransientDependency.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Extensions.DependencyInjection;
2 |
3 | namespace Bing.DependencyInjection;
4 |
5 | ///
6 | /// 实现此接口的类型将自动注册为 模式
7 | ///
8 | /// 生命周期为每次创建一个新实例
9 | [IgnoreDependency]
10 | public interface ITransientDependency
11 | {
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/DependencyInjection/MultipleDependencyAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.DependencyInjection;
2 |
3 | ///
4 | /// 标记允许多重注入,即一个接口可以注入多个实例
5 | ///
6 | [AttributeUsage(AttributeTargets.Interface)]
7 | public class MultipleDependencyAttribute : Attribute
8 | {
9 | }
10 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/DependencyInjection/ServiceCollectionObjectAccessorExtension.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.DependencyInjection;
2 |
3 | class ServiceCollectionObjectAccessorExtension
4 | {
5 | }
6 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Events/IEvent.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Events;
2 |
3 | ///
4 | /// 事件
5 | ///
6 | public interface IEvent
7 | {
8 | ///
9 | /// 事件标识
10 | ///
11 | string Id { get; set; }
12 |
13 | ///
14 | /// 事件时间
15 | ///
16 | DateTime Time { get; }
17 |
18 | ///
19 | /// 获取事件名称
20 | ///
21 | string GetEventName();
22 | }
23 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Events/IEventNameProvider.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Events;
2 |
3 | ///
4 | /// 事件名称提供程序
5 | ///
6 | public interface IEventNameProvider
7 | {
8 | ///
9 | /// 获取名称
10 | ///
11 | /// 事件类型
12 | string GetName(Type eventType);
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Events/IEventSession.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Events;
2 |
3 | ///
4 | /// 事件会话
5 | ///
6 | public interface IEventSession
7 | {
8 | ///
9 | /// 会话标识
10 | ///
11 | string SessionId { get; set; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/ExceptionHandling/IExceptionNotifier.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.ExceptionHandling;
2 |
3 | ///
4 | /// 异常通知器
5 | ///
6 | public interface IExceptionNotifier
7 | {
8 | ///
9 | /// 通知
10 | ///
11 | /// 异常通知上下文
12 | Task NotifyAsync(ExceptionNotificationContext context);
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/ExceptionHandling/IHasErrorCode.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.ExceptionHandling;
2 |
3 | ///
4 | /// 错误码
5 | ///
6 | public interface IHasErrorCode
7 | {
8 | ///
9 | /// 错误码
10 | ///
11 | string Code { get; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/ExceptionHandling/IHasErrorDetails.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.ExceptionHandling;
2 |
3 | ///
4 | /// 错误详情
5 | ///
6 | public interface IHasErrorDetails
7 | {
8 | ///
9 | /// 错误详情
10 | ///
11 | string Details { get; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/ExceptionHandling/IHasHttpStatusCode.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.ExceptionHandling;
2 |
3 | ///
4 | /// Http状态码
5 | ///
6 | public interface IHasHttpStatusCode
7 | {
8 | ///
9 | /// Http状态码
10 | ///
11 | int HttpStatusCode { get; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/IBusinessException.cs:
--------------------------------------------------------------------------------
1 | namespace Bing;
2 |
3 | ///
4 | /// 业务异常
5 | ///
6 | public interface IBusinessException
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/IUserFriendlyException.cs:
--------------------------------------------------------------------------------
1 | namespace Bing;
2 |
3 | ///
4 | /// 用户友好提示异常
5 | ///
6 | public interface IUserFriendlyException : IBusinessException
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Locks/IDistributedLock.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Locks;
2 |
3 | ///
4 | /// 分布式锁
5 | ///
6 | public interface IDistributedLock : ILock
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Logging/IExceptionWithSelfLogging.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Extensions.Logging;
2 |
3 | namespace Bing.Logging;
4 |
5 | ///
6 | /// 安全记录异常
7 | ///
8 | public interface IExceptionWithSelfLogging
9 | {
10 | ///
11 | /// 记录
12 | ///
13 | /// 日志
14 | void Log(ILogger logger);
15 | }
16 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Logging/IHasLogLevel.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Extensions.Logging;
2 |
3 | namespace Bing.Logging;
4 |
5 | ///
6 | /// 日志级别
7 | ///
8 | public interface IHasLogLevel
9 | {
10 | ///
11 | /// 日志级别
12 | ///
13 | LogLevel LogLevel { get; set; }
14 | }
15 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Logging/IInitLogger.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Extensions.Logging;
2 |
3 | namespace Bing.Logging;
4 |
5 | ///
6 | /// 初始化日志记录器
7 | ///
8 | /// 类型
9 | public interface IInitLogger : ILogger
10 | {
11 | ///
12 | /// 条目列表
13 | ///
14 | public List Entries { get; }
15 | }
16 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Logging/IInitLoggerFactory.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Logging;
2 |
3 | ///
4 | /// 初始化日志记录器工厂
5 | ///
6 | public interface IInitLoggerFactory
7 | {
8 | ///
9 | /// 创建初始化日志记录器
10 | ///
11 | /// 类型
12 | IInitLogger Create();
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Monitoring/Health/BusHealthStatus.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Monitoring.Health;
2 |
3 | ///
4 | /// 业务健康状态
5 | ///
6 | public enum BusHealthStatus
7 | {
8 | ///
9 | /// 不良
10 | ///
11 | Unhealthy = 0,
12 | ///
13 | /// 降级
14 | ///
15 | Degraded = 1,
16 | ///
17 | /// 健康
18 | ///
19 | Healthy = 2
20 | }
21 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Monitoring/Health/IBusHealth.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Monitoring.Health;
2 |
3 | ///
4 | /// 定义业务健康检查
5 | ///
6 | public interface IBusHealth
7 | {
8 | ///
9 | /// 业务名称
10 | ///
11 | string Name { get; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Options/BingOptions.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Options;
2 |
3 | ///
4 | /// Bing配置项
5 | ///
6 | public class BingOptions : BingOptionsBase
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Options/IBingOptions.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Options;
2 |
3 | ///
4 | /// 配置项扩展
5 | ///
6 | public interface IBingOptions
7 | {
8 | ///
9 | /// 添加配置项扩展
10 | ///
11 | /// 配置项扩展
12 | void AddExtension(IBingOptionsExtension extension);
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Options/IBingOptionsExtension.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Extensions.DependencyInjection;
2 |
3 | namespace Bing.Options;
4 |
5 | ///
6 | /// Bing配置项扩展
7 | ///
8 | public interface IBingOptionsExtension
9 | {
10 | ///
11 | /// 注册服务
12 | ///
13 | /// 服务集合
14 | void AddServices(IServiceCollection services);
15 | }
16 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Reflection/IAllAssemblyFinder.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Reflection;
2 |
3 | ///
4 | /// 定义所有程序集查找器
5 | ///
6 | public interface IAllAssemblyFinder : IAssemblyFinder
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Reflection/IAssemblyFinder.cs:
--------------------------------------------------------------------------------
1 | using Bing.Finders;
2 |
3 | namespace Bing.Reflection;
4 |
5 | ///
6 | /// 定义程序集查找器
7 | ///
8 | public interface IAssemblyFinder : IFinder
9 | {
10 | }
11 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Reflection/ITypeFinder.cs:
--------------------------------------------------------------------------------
1 | using Bing.DependencyInjection;
2 | using Bing.Finders;
3 |
4 | namespace Bing.Reflection;
5 |
6 | ///
7 | /// 定义类型查找器
8 | ///
9 | [IgnoreDependency]
10 | public interface ITypeFinder : IFinder
11 | {
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Threading/ICancellationTokenProvider.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Threading;
2 |
3 | ///
4 | /// 异步任务取消令牌提供程序
5 | ///
6 | public interface ICancellationTokenProvider
7 | {
8 | ///
9 | /// 异步任务取消令牌
10 | ///
11 | CancellationToken Token { get; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Tracing/IHasTraceId.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Tracing;
2 |
3 | ///
4 | /// 定义跟踪标识
5 | ///
6 | public interface IHasTraceId
7 | {
8 | ///
9 | /// 跟踪标识
10 | ///
11 | string TraceId { get; set; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Trees/LoadMode.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Trees;
2 |
3 | ///
4 | /// 加载模式
5 | ///
6 | public enum LoadMode
7 | {
8 | ///
9 | /// 同步
10 | ///
11 | Sync,
12 |
13 | ///
14 | /// 异步
15 | ///
16 | Async,
17 |
18 | ///
19 | /// 根节点异步加载,下级节点一次性加载
20 | ///
21 | OnlyRootAsync
22 | }
23 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Bing/Trees/LoadOperation.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Trees;
2 |
3 | ///
4 | /// 加载操作
5 | ///
6 | public enum LoadOperation
7 | {
8 | ///
9 | /// 初次加载
10 | ///
11 | FirstLoad = 1,
12 |
13 | ///
14 | /// 加载子节点
15 | ///
16 | LoadChild = 2,
17 |
18 | ///
19 | /// 搜索
20 | ///
21 | Search = 3
22 | }
23 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Events/Handlers/IEventHandlerManager.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Events.Handlers;
2 |
3 | ///
4 | /// 事件处理器服务
5 | ///
6 | public interface IEventHandlerManager
7 | {
8 | ///
9 | /// 获取事件处理器列表
10 | ///
11 | /// 事件类型
12 | List> GetHandlers() where TEvent : IEvent;
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Events/IEventBus.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Events;
2 |
3 | ///
4 | /// 事件总线
5 | ///
6 | public interface IEventBus
7 | {
8 | ///
9 | /// 发布事件
10 | ///
11 | /// 事件类型
12 | /// 事件
13 | Task PublishAsync(TEvent @event) where TEvent : IEvent;
14 | }
15 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/Events/ISimpleEventBus.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Events;
2 |
3 | ///
4 | /// 基于内存的简单事件总线
5 | ///
6 | public interface ISimpleEventBus : IEventBus
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Core/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections;
2 | global using System.Reflection;
3 | global using System.Text;
4 |
5 | #if NETSTANDARD
6 | global using System;
7 | global using System.Collections.Generic;
8 | global using System.IO;
9 | global using System.Linq;
10 | global using System.Threading;
11 | global using System.Threading.Tasks;
12 | #endif
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Dapper.Core/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.Dapper.Core/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections;
2 | global using System.Reflection;
3 | global using System.Text;
4 | global using System.Data;
5 | global using Dapper;
6 |
7 | #if NETSTANDARD
8 | global using System;
9 | global using System.Collections.Generic;
10 | global using System.IO;
11 | global using System.Linq;
12 | global using System.Threading;
13 | global using System.Threading.Tasks;
14 | #endif
15 |
--------------------------------------------------------------------------------
/framework/src/Bing.Dapper.Core/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.Dapper.MySql/Bing/Data/Sql/MySqlQuery.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql;
2 |
3 | ///
4 | /// MySql Sql查询对象
5 | ///
6 | public class MySqlQuery : MySqlQueryBase
7 | {
8 | ///
9 | public MySqlQuery(IServiceProvider serviceProvider, SqlOptions options, IDatabase database = null)
10 | : base(serviceProvider, options, database)
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Dapper.Oracle/Bing/Data/Sql/OracleDatabaseFactory.cs:
--------------------------------------------------------------------------------
1 | using Oracle.ManagedDataAccess.Client;
2 |
3 | namespace Bing.Data.Sql;
4 |
5 | ///
6 | /// Oracle数据库工厂
7 | ///
8 | public class OracleDatabaseFactory : IDatabaseFactory
9 | {
10 | ///
11 | public IDatabase Create(string connection) => new DefaultDatabase(new OracleConnection(connection));
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Dapper.PostgreSql/Bing/Data/Sql/PostgreSqlDatabaseFactory.cs:
--------------------------------------------------------------------------------
1 | using Npgsql;
2 |
3 | namespace Bing.Data.Sql;
4 |
5 | ///
6 | /// PostgreSql数据库工厂
7 | ///
8 | public class PostgreSqlDatabaseFactory : IDatabaseFactory
9 | {
10 | ///
11 | public IDatabase Create(string connection) => new DefaultDatabase(new NpgsqlConnection(connection));
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Dapper.PostgreSql/Bing/Data/Sql/PostgreSqlQuery.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql;
2 |
3 | ///
4 | /// PostgreSql Sql查询对象
5 | ///
6 | public class PostgreSqlQuery : PostgreSqlQueryBase
7 | {
8 | ///
9 | public PostgreSqlQuery(IServiceProvider serviceProvider, SqlOptions options, IDatabase database = null)
10 | : base(serviceProvider, options, database)
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Dapper.SqlServer/Bing/Data/Sql/SqlServerDatabaseFactory.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Data.SqlClient;
2 |
3 | namespace Bing.Data.Sql;
4 |
5 | ///
6 | /// Sql Server数据库工厂
7 | ///
8 | public class SqlServerDatabaseFactory : IDatabaseFactory
9 | {
10 | ///
11 | public IDatabase Create(string connection) => new DefaultDatabase(new SqlConnection(connection));
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Dapper.Sqlite/Bing/Data/Sql/SqliteDatabaseFactory.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Data.Sqlite;
2 |
3 | namespace Bing.Data.Sql;
4 |
5 | ///
6 | /// Sqlite数据库工厂
7 | ///
8 | public class SqliteDatabaseFactory : IDatabaseFactory
9 | {
10 | ///
11 | public IDatabase Create(string connection) => new DefaultDatabase(new SqliteConnection(connection));
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Dapper.Sqlite/Bing/Data/Sql/SqliteSqlQuery.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql;
2 |
3 | ///
4 | /// Sqlite Sql查询对象
5 | ///
6 | public class SqliteSqlQuery : SqliteSqlQueryBase
7 | {
8 | ///
9 | public SqliteSqlQuery(IServiceProvider serviceProvider, SqlOptions options, IDatabase database = null)
10 | : base(serviceProvider, options, database)
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/Clauses/ISqlClause.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders.Clauses;
2 |
3 | ///
4 | /// Sql子句
5 | ///
6 | public interface ISqlClause : ISqlContent
7 | {
8 | ///
9 | /// 验证
10 | ///
11 | bool Validate();
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/ICondition.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders;
2 |
3 | ///
4 | /// Sql查询条件
5 | ///
6 | public interface ICondition
7 | {
8 | ///
9 | /// 获取查询条件
10 | ///
11 | string GetCondition();
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/ICte.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders;
2 |
3 | ///
4 | /// 公用表达式CTE操作
5 | ///
6 | public interface ICte
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/ICteAccessor.cs:
--------------------------------------------------------------------------------
1 | using Bing.Data.Sql.Builders.Core;
2 |
3 | namespace Bing.Data.Sql.Builders;
4 |
5 | ///
6 | /// 公用表表达式CTE操作访问器
7 | ///
8 | public interface ICteAccessor
9 | {
10 | ///
11 | /// 公用表表达式CTE集合
12 | ///
13 | List CteItems { get; }
14 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/IFrom.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders;
2 |
3 | ///
4 | /// From子句操作
5 | ///
6 | public interface IFrom
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/IGroupBy.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders;
2 |
3 | ///
4 | /// GroupBy子句操作
5 | ///
6 | public interface IGroupBy
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/IJoin.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders;
2 |
3 | ///
4 | /// Join子句操作
5 | ///
6 | public interface IJoin
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/IOrderBy.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders;
2 |
3 | ///
4 | /// OrderBt子句操作
5 | ///
6 | public interface IOrderBy
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/ISelect.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders;
2 |
3 | ///
4 | /// Select子句操作
5 | ///
6 | public interface ISelect
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/ISqlContent.cs:
--------------------------------------------------------------------------------
1 | using System.Text;
2 |
3 | namespace Bing.Data.Sql.Builders;
4 |
5 | ///
6 | /// Sql内容
7 | ///
8 | public interface ISqlContent
9 | {
10 | ///
11 | /// 添加到字符串生成器
12 | ///
13 | /// 字符串生成器
14 | void AppendTo(StringBuilder builder);
15 | }
16 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/ISqlFilter.cs:
--------------------------------------------------------------------------------
1 | using Bing.Data.Sql.Builders.Core;
2 |
3 | namespace Bing.Data.Sql.Builders;
4 |
5 | ///
6 | /// Sql过滤器
7 | ///
8 | public interface ISqlFilter
9 | {
10 | ///
11 | /// 过滤
12 | ///
13 | /// Sql查询执行上下文
14 | void Filter(SqlContext context);
15 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/IUnion.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders;
2 |
3 | ///
4 | /// 联合操作
5 | ///
6 | public interface IUnion
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/IWhere.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders;
2 |
3 | ///
4 | /// Where子句操作
5 | ///
6 | public interface IWhere
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/Operations/IInsert.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders.Operations;
2 |
3 | ///
4 | /// 插入子句操作
5 | ///
6 | public interface IInsert
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/Operations/ISqlOperation.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders.Operations;
2 |
3 | ///
4 | /// Sql操作
5 | ///
6 | public interface ISqlOperation : ISqlQueryOperation, IInsert
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/Operations/ISqlParameter.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders.Operations;
2 |
3 | ///
4 | /// Sql参数操作
5 | ///
6 | public interface ISqlParameter
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/Operations/ISqlQueryOperation.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders.Operations;
2 |
3 | ///
4 | /// Sql查询操作
5 | ///
6 | public interface ISqlQueryOperation : ISelect, IFrom, IJoin, IWhere, IGroupBy, IOrderBy, IUnion, ICte, ISqlParameter
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/Params/IClearParameters.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders.Params;
2 |
3 | ///
4 | /// 清空Sql参数
5 | ///
6 | public interface IClearParameters
7 | {
8 | ///
9 | /// 清空Sql参数
10 | ///
11 | void ClearParams();
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/Params/IGetParameter.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders.Params;
2 |
3 | ///
4 | /// 获取Sql参数
5 | ///
6 | public interface IGetParameter
7 | {
8 | ///
9 | /// 获取Sql参数值
10 | ///
11 | /// 参数值类型
12 | /// 参数名
13 | T GetParam(string name);
14 | }
15 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Builders/Params/IParamLiteralsResolver.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Builders.Params;
2 |
3 | ///
4 | /// 参数字面值解析器
5 | ///
6 | public interface IParamLiteralsResolver
7 | {
8 | ///
9 | /// 获取参数字面值
10 | ///
11 | /// 参数值
12 | string GetParamLiterals(object value);
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Configs/ISqlOptions.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Configs;
2 |
3 | ///
4 | /// Sql配置操作
5 | ///
6 | public interface ISqlOptions
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/ISqlCondition.cs:
--------------------------------------------------------------------------------
1 | using Bing.Data.Sql.Builders;
2 |
3 | namespace Bing.Data.Sql;
4 |
5 | ///
6 | /// Sql查询条件
7 | ///
8 | public interface ISqlCondition : ISqlContent
9 | {
10 | }
11 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Metadata/DefaultTableDatabase.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Metadata;
2 |
3 | ///
4 | /// 表数据库
5 | ///
6 | public class DefaultTableDatabase : ITableDatabase
7 | {
8 | ///
9 | /// 获取数据库
10 | ///
11 | /// 表
12 | public string GetDatabase(string table) => null;
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/Bing/Data/Sql/Metadata/ITableDatabase.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Metadata;
2 |
3 | ///
4 | /// 表数据库
5 | ///
6 | public interface ITableDatabase
7 | {
8 | ///
9 | /// 获取数据库
10 | ///
11 | /// 表
12 | string GetDatabase(string table);
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data.Sql/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data/Bing/Data/Attributes/HasMaxLengthAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Attributes;
2 |
3 | ///
4 | /// 最大长度
5 | ///
6 | [AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
7 | public class HasMaxLengthAttribute : Attribute
8 | {
9 | ///
10 | /// 是否最大长度
11 | ///
12 | public bool HasMaxLength { get; set; } = true;
13 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data/Bing/Data/DataLogLevel.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data;
2 |
3 | ///
4 | /// 数据日志级别
5 | ///
6 | public enum DataLogLevel
7 | {
8 | ///
9 | /// 输出全部日志,包括连接数据库,提交事务等大量信息
10 | ///
11 | All,
12 |
13 | ///
14 | /// 仅输出Sql
15 | ///
16 | Sql,
17 |
18 | ///
19 | /// 关闭日志
20 | ///
21 | Off
22 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data/Bing/Data/Filters/IFilterOperation.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Filters;
2 |
3 | ///
4 | /// 数据过滤操作
5 | ///
6 | public interface IFilterOperation;
7 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data/Bing/Data/ICondition.cs:
--------------------------------------------------------------------------------
1 | using System.Linq.Expressions;
2 |
3 | namespace Bing.Data;
4 |
5 | ///
6 | /// 查询条件
7 | ///
8 | /// 实体类型
9 | public interface ICondition
10 | {
11 | ///
12 | /// 获取查询条件
13 | ///
14 | Expression> GetCondition();
15 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data/Bing/Data/IDatabase.cs:
--------------------------------------------------------------------------------
1 | using System.Data;
2 | using Bing.Aspects;
3 |
4 | namespace Bing.Data;
5 |
6 | ///
7 | /// 数据库
8 | ///
9 | [IgnoreAspect]
10 | public interface IDatabase
11 | {
12 | ///
13 | /// 获取数据库连接
14 | ///
15 | IDbConnection GetConnection();
16 | }
17 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data/Bing/Data/IDatabaseFactory.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data;
2 |
3 | ///
4 | /// 数据库工厂
5 | ///
6 | public interface IDatabaseFactory
7 | {
8 | ///
9 | /// 创建数据库信息
10 | ///
11 | /// 数据库连接字符串
12 | IDatabase Create(string connection);
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Data/Bing/Data/ISeedDataInitializer.cs:
--------------------------------------------------------------------------------
1 | using Bing.DependencyInjection;
2 |
3 | namespace Bing.Data;
4 |
5 | ///
6 | /// 种子数据初始化
7 | ///
8 | [MultipleDependency]
9 | public interface ISeedDataInitializer
10 | {
11 | ///
12 | /// 种子数据初始化顺序
13 | ///
14 | int Order { get; }
15 |
16 | ///
17 | /// 初始化种子数据
18 | ///
19 | Task InitializeAsync();
20 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data/Bing/Data/ObjectExtending/IHasExtraProperties.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.ObjectExtending;
2 |
3 | ///
4 | /// 扩展属性
5 | ///
6 | public interface IHasExtraProperties
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data/Bing/Data/Queries/IQueryParameter.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Queries;
2 |
3 | ///
4 | /// 查询参数
5 | ///
6 | public interface IQueryParameter : IPager
7 | {
8 | ///
9 | /// 搜索关键字
10 | ///
11 | string Keyword { get; set; }
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data/Bing/Data/Queries/ITrack.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Queries;
2 |
3 | ///
4 | /// 跟踪
5 | ///
6 | public interface ITrack
7 | {
8 | ///
9 | /// 设置为不跟踪实体
10 | ///
11 | void NoTracking();
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data/Bing/Data/Queries/QueryParameter.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Queries;
2 |
3 | ///
4 | /// 查询参数
5 | ///
6 | public class QueryParameter : Pager, IQueryParameter
7 | {
8 | ///
9 | /// 搜索关键字
10 | ///
11 | public string Keyword { get; set; }
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data/Bing/Trees/IEnabled.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Trees;
2 |
3 | ///
4 | /// 树型节点启用
5 | ///
6 | public interface IEnabled
7 | {
8 | ///
9 | /// 启用
10 | ///
11 | bool Enabled { get; set; }
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data/Bing/Trees/IParentId.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Trees;
2 |
3 | ///
4 | /// 树型父标识
5 | ///
6 | /// 父标识类型
7 | public interface IParentId
8 | {
9 | ///
10 | /// 父标识
11 | ///
12 | TParentId ParentId { get; set; }
13 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data/Bing/Trees/IPath.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Trees;
2 |
3 | ///
4 | /// 树型物化路径
5 | ///
6 | public interface IPath
7 | {
8 | ///
9 | /// 路径
10 | ///
11 | string Path { get; }
12 |
13 | ///
14 | /// 级数
15 | ///
16 | int Level { get; }
17 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Data/Bing/Trees/ISortId.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Trees;
2 |
3 | ///
4 | /// 排序号
5 | ///
6 | public interface ISortId
7 | {
8 | ///
9 | /// 排序号
10 | ///
11 | int? SortId { get; set; }
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Application.Contracts/Bing/Application/Aspects/ICommitAfter.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Application.Aspects;
2 |
3 | ///
4 | /// 提交工作单元后操作
5 | ///
6 | public interface ICommitAfter
7 | {
8 | ///
9 | /// 提交后操作
10 | ///
11 | void CommitAfter();
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Application.Contracts/Bing/Application/Commands/ICommand.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Application.Commands;
2 |
3 | ///
4 | /// 定义命令
5 | ///
6 | public interface ICommand
7 | {
8 | }
9 |
10 | ///
11 | /// 定义命令
12 | ///
13 | /// 结果类型
14 | public interface ICommand
15 | {
16 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Application.Contracts/Bing/Application/Dtos/DtoBase.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Application.Dtos;
2 |
3 | ///
4 | /// 数据传输对象
5 | ///
6 | public abstract class DtoBase : RequestBase, IDto
7 | {
8 | ///
9 | /// 标识
10 | ///
11 | public string Id { get; set; }
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Application.Contracts/Bing/Application/Dtos/IDto.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Application.Dtos;
2 |
3 | ///
4 | /// 数据传输对象
5 | ///
6 | public interface IDto : IKey, IRequest, IResponse
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Application.Contracts/Bing/Application/Dtos/IKey.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Application.Dtos;
2 |
3 | ///
4 | /// 标识
5 | ///
6 | public interface IKey
7 | {
8 | ///
9 | /// 标识
10 | ///
11 | string Id { get; set; }
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Application.Contracts/Bing/Application/Dtos/IRequest.cs:
--------------------------------------------------------------------------------
1 | using Bing.Validation;
2 |
3 | namespace Bing.Application.Dtos;
4 |
5 | ///
6 | /// 请求对象
7 | ///
8 | public interface IRequest : IVerifyModel
9 | {
10 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Application.Contracts/Bing/Application/Dtos/IResponse.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Application.Dtos;
2 |
3 | ///
4 | /// 响应对象
5 | ///
6 | public interface IResponse
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Application.Contracts/Bing/Application/Queries/IQuery.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Application.Queries;
2 |
3 | ///
4 | /// 定义查询
5 | ///
6 | public interface IQuery
7 | {
8 | }
9 |
10 | ///
11 | /// 定义查询
12 | ///
13 | /// 结果类型
14 | public interface IQuery : IQuery
15 | {
16 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Application.Contracts/Bing/Application/Services/IAppService.cs:
--------------------------------------------------------------------------------
1 | using Bing.DependencyInjection;
2 |
3 | namespace Bing.Application.Services;
4 |
5 | ///
6 | /// 应用服务
7 | ///
8 | [IgnoreDependency]
9 | public interface IAppService : IScopedDependency
10 | {
11 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Application.Contracts/Bing/Trees/ITreeTableResult.cs:
--------------------------------------------------------------------------------
1 | // ReSharper disable once CheckNamespace
2 | namespace Bing.Trees;
3 |
4 | ///
5 | /// 树型表格结果
6 | ///
7 | public interface ITreeTableResult where TNode : TreeDto
8 | {
9 | ///
10 | /// 获取树型表格结果
11 | ///
12 | List GetResult();
13 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Application.Contracts/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Application.Contracts/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Application/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Application/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Domain/Bing/Domain/Entities/Events/DomainEvent.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Domain.Entities.Events;
2 |
3 | ///
4 | /// 领域事件
5 | ///
6 | public abstract class DomainEvent
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Domain/Bing/Domain/Entities/Events/IDomainEventHandler.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Domain.Entities.Events;
2 |
3 | ///
4 | /// 领域事件处理器
5 | ///
6 | /// 领域事件类型
7 | public interface IDomainEventHandler where TEvent : DomainEvent
8 | {
9 | ///
10 | /// 处理
11 | ///
12 | /// 领域事件
13 | Task HandleAsync(TEvent @event);
14 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Domain/Bing/Domain/Entities/Events/IDomainHandlerFactory.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Domain.Entities.Events;
2 |
3 | ///
4 | /// 领域事件处理器工厂
5 | ///
6 | public interface IDomainHandlerFactory
7 | {
8 | ///
9 | /// 创建领域事件处理器
10 | ///
11 | /// 领域事件处理器类型
12 | object Create(Type handlerType);
13 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Domain/Bing/Domain/Entities/IDomainObject.cs:
--------------------------------------------------------------------------------
1 | using Bing.Validation;
2 |
3 | namespace Bing.Domain.Entities;
4 |
5 | ///
6 | /// 领域对象
7 | ///
8 | public interface IDomainObject : IVerifyModel
9 | {
10 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Domain/Bing/Domain/Entities/IKey.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Domain.Entities;
2 |
3 | ///
4 | /// 标识
5 | ///
6 | /// 标识类型
7 | public interface IKey
8 | {
9 | ///
10 | /// 标识
11 | ///
12 | TKey Id { get; }
13 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Domain/Bing/Domain/Entities/IVersion.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Domain.Entities;
2 |
3 | ///
4 | /// 乐观锁
5 | ///
6 | public interface IVersion
7 | {
8 | ///
9 | /// 版本号(乐观锁)
10 | ///
11 | byte[] Version { get; set; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Domain/Bing/Domain/Services/IDomainService.cs:
--------------------------------------------------------------------------------
1 | using Bing.DependencyInjection;
2 |
3 | namespace Bing.Domain.Services;
4 |
5 | ///
6 | /// 领域服务
7 | ///
8 | [IgnoreDependency]
9 | public interface IDomainService : IScopedDependency
10 | {
11 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Domain/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/framework/src/Bing.Ddd.Domain/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/framework/src/Bing.EasyCaching/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections;
2 | global using System.Reflection;
3 | global using System.Text;
4 |
5 | #if NETSTANDARD
6 | global using System;
7 | global using System.Collections.Generic;
8 | global using System.IO;
9 | global using System.Linq;
10 | global using System.Threading;
11 | global using System.Threading.Tasks;
12 | #endif
13 |
14 | global using EasyCaching.Core;
15 |
--------------------------------------------------------------------------------
/framework/src/Bing.Emailing/Bing.Emailing.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 | Bing.Emailing
4 | Bing.Emailing
5 | Bing.Emailing 是邮件操作类库。
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/framework/src/Bing.Emailing/Bing/Emailing/IAttachment.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Emailing;
2 |
3 | ///
4 | /// 附件
5 | ///
6 | public interface IAttachment : IDisposable
7 | {
8 | ///
9 | /// 获取文件流
10 | ///
11 | Stream GetFileStream();
12 |
13 | ///
14 | /// 获取文件名称
15 | ///
16 | string GetName();
17 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Emailing/Bing/Emailing/IEmailConfigProvider.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Emailing;
2 |
3 | ///
4 | /// 电子邮件配置提供器
5 | ///
6 | public interface IEmailConfigProvider
7 | {
8 | ///
9 | /// 获取配置
10 | ///
11 | EmailConfig GetConfig();
12 |
13 | ///
14 | /// 获取配置
15 | ///
16 | Task GetConfigAsync();
17 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Emailing/Bing/Emailing/IMailQueueService.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Emailing;
2 |
3 | ///
4 | /// 邮件队列服务
5 | ///
6 | public interface IMailQueueService
7 | {
8 | ///
9 | /// 入队
10 | ///
11 | /// 邮件
12 | void Enqueue(EmailBox box);
13 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Emailing/Bing/Emailing/Smtp/ISmtpEmailSender.cs:
--------------------------------------------------------------------------------
1 | using System.Net.Mail;
2 |
3 | namespace Bing.Emailing.Smtp;
4 |
5 | ///
6 | /// 基于SMTP的电子邮件发送器
7 | ///
8 | public interface ISmtpEmailSender : IEmailSender
9 | {
10 | ///
11 | /// 生成SMTP客户端
12 | ///
13 | SmtpClient BuildClient();
14 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Emailing/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/framework/src/Bing.Emailing/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.EntityFrameworkCore.MySql/AggregateRootMap.cs:
--------------------------------------------------------------------------------
1 | using Bing.Datas.EntityFramework.Core;
2 |
3 | namespace Bing.Datas.EntityFramework.MySql;
4 |
5 | ///
6 | /// 聚合根映射配置
7 | ///
8 | /// 实体类型
9 | public abstract class AggregateRootMap : MapBase, IMap where TEntity : class
10 | {
11 | }
12 |
--------------------------------------------------------------------------------
/framework/src/Bing.EntityFrameworkCore.MySql/EntityMap.cs:
--------------------------------------------------------------------------------
1 | using Bing.Datas.EntityFramework.Core;
2 |
3 | namespace Bing.Datas.EntityFramework.MySql;
4 |
5 | ///
6 | /// 实体映射配置
7 | ///
8 | /// 实体类型
9 | public abstract class EntityMap : MapBase, IMap where TEntity : class
10 | {
11 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EntityFrameworkCore.MySql/IMap.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Datas.EntityFramework.MySql;
2 |
3 | ///
4 | /// 映射
5 | ///
6 | public interface IMap : Bing.Datas.EntityFramework.Core.IMap
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EntityFrameworkCore.Oracle/EntityMap.cs:
--------------------------------------------------------------------------------
1 | using Bing.Datas.EntityFramework.Core;
2 |
3 | namespace Bing.Datas.EntityFramework.Oracle;
4 |
5 | ///
6 | /// 实体映射配置
7 | ///
8 | /// 实体类型
9 | public abstract class EntityMap : MapBase, IMap where TEntity : class
10 | {
11 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EntityFrameworkCore.Oracle/IMap.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Datas.EntityFramework.Oracle;
2 |
3 | ///
4 | /// 映射
5 | ///
6 | public interface IMap : Bing.Datas.EntityFramework.Core.IMap
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EntityFrameworkCore.PostgreSql/AggregateRootMap.cs:
--------------------------------------------------------------------------------
1 | using Bing.Datas.EntityFramework.Core;
2 |
3 | namespace Bing.Datas.EntityFramework.PgSql;
4 |
5 | ///
6 | /// 聚合根映射配置
7 | ///
8 | /// 实体类型
9 | public abstract class AggregateRootMap : MapBase, IMap where TEntity : class
10 | {
11 | }
12 |
--------------------------------------------------------------------------------
/framework/src/Bing.EntityFrameworkCore.PostgreSql/EntityMap.cs:
--------------------------------------------------------------------------------
1 | using Bing.Datas.EntityFramework.Core;
2 |
3 | namespace Bing.Datas.EntityFramework.PgSql;
4 |
5 | ///
6 | /// 实体映射配置
7 | ///
8 | /// 实体类型
9 | public abstract class EntityMap : MapBase, IMap where TEntity : class
10 | {
11 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EntityFrameworkCore.PostgreSql/IMap.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Datas.EntityFramework.PgSql;
2 |
3 | ///
4 | /// 映射
5 | ///
6 | public interface IMap : Bing.Datas.EntityFramework.Core.IMap
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EntityFrameworkCore.SqlServer/EntityMap.cs:
--------------------------------------------------------------------------------
1 | using Bing.Datas.EntityFramework.Core;
2 |
3 | namespace Bing.Datas.EntityFramework.SqlServer;
4 |
5 | ///
6 | /// 实体映射配置
7 | ///
8 | /// 实体类型
9 | public abstract class EntityMap : MapBase, IMap where TEntity : class
10 | {
11 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EntityFrameworkCore.SqlServer/IMap.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Datas.EntityFramework.SqlServer;
2 |
3 | ///
4 | /// 映射
5 | ///
6 | public interface IMap : Bing.Datas.EntityFramework.Core.IMap
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EntityFrameworkCore.Sqlite/EntityMap.cs:
--------------------------------------------------------------------------------
1 | using Bing.Datas.EntityFramework.Core;
2 |
3 | namespace Bing.Datas.EntityFramework.Sqlite;
4 |
5 | ///
6 | /// 实体映射配置
7 | ///
8 | /// 实体类型
9 | public abstract class EntityMap : MapBase, IMap where TEntity : class
10 | {
11 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EntityFrameworkCore.Sqlite/IMap.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Datas.EntityFramework.Sqlite;
2 |
3 | ///
4 | /// 映射
5 | ///
6 | public interface IMap : Bing.Datas.EntityFramework.Core.IMap
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EntityFrameworkCore/Core/IMap.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.EntityFrameworkCore;
2 |
3 | namespace Bing.Datas.EntityFramework.Core;
4 |
5 | ///
6 | /// 映射
7 | ///
8 | public interface IMap
9 | {
10 | ///
11 | /// 映射配置
12 | ///
13 | /// 模型生成器
14 | void Map(ModelBuilder builder);
15 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EventBus.Abstractions/Bing/EventBus/Distributed/IDistributedEvent.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.EventBus.Distributed;
2 |
3 | ///
4 | /// 分布式事件
5 | ///
6 | public interface IDistributedEvent : IEvent
7 | {
8 | ///
9 | /// 事件标识
10 | ///
11 | string EventId { get; }
12 |
13 | ///
14 | /// 事件发生时间
15 | ///
16 | DateTime EventTime { get; }
17 | }
18 |
--------------------------------------------------------------------------------
/framework/src/Bing.EventBus.Abstractions/Bing/EventBus/IEvent.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.EventBus;
2 |
3 | ///
4 | /// 事件
5 | ///
6 | public interface IEvent;
7 |
--------------------------------------------------------------------------------
/framework/src/Bing.EventBus.Abstractions/Bing/EventBus/Local/ILocalEventBus.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.EventBus.Local;
2 |
3 | ///
4 | /// 基于内存的本地事件总线
5 | ///
6 | public interface ILocalEventBus : IEventBus;
7 |
--------------------------------------------------------------------------------
/framework/src/Bing.EventBus.Abstractions/Bing/EventBus/Local/ILocalEventHandler.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.EventBus.Local;
2 |
3 | ///
4 | /// 本地事件处理器
5 | ///
6 | public interface ILocalEventHandler : IEventHandler
7 | {
8 | ///
9 | /// 序号
10 | ///
11 | int Order { get; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.EventBus/Bing/EventBus/IEvent.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.EventBus;
2 |
3 | ///
4 | /// 事件
5 | ///
6 | public interface IEvent
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EventBus/Bing/EventBus/IEventDataWithInheritableGenericArgument.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.EventBus;
2 |
3 | ///
4 | /// 可继承的泛型参数事件数据
5 | ///
6 | public interface IEventDataWithInheritableGenericArgument
7 | {
8 | ///
9 | /// 获取构造函数参数
10 | ///
11 | object[] GetConstructorArgs();
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EventBus/Bing/EventBus/IEventHandler.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.EventBus;
2 |
3 | ///
4 | /// 事件处理器
5 | ///
6 | public interface IEventHandler
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EventBus/Bing/EventBus/IEventHandlerDisposeWrapper.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.EventBus;
2 |
3 | ///
4 | /// 事件处理释放包装器
5 | ///
6 | public interface IEventHandlerDisposeWrapper : IDisposable
7 | {
8 | ///
9 | /// 事件处理器
10 | ///
11 | IEventHandler EventHandler { get; }
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EventBus/Bing/EventBus/Local/ILocalEventHandler.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.EventBus.Local;
2 |
3 | ///
4 | /// 本地事件处理器
5 | ///
6 | /// 事件类型
7 | public interface ILocalEventHandler : IEventHandler where TEvent : class
8 | {
9 | ///
10 | /// 处理事件
11 | ///
12 | /// 事件数据
13 | Task HandleAsync(TEvent eventData);
14 | }
--------------------------------------------------------------------------------
/framework/src/Bing.EventBus/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.EventBus/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.Events.Cap.MySql/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/framework/src/Bing.Events.Cap.MySql/project.dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/framework/src/Bing.Events.Cap.MySql/project.props:
--------------------------------------------------------------------------------
1 |
2 |
3 | netstandard2.1
4 |
5 |
6 |
7 | Bing.Events.Cap.MySql
8 | Bing.Events.Cap.MySql
9 | Bing.Events.Cap.MySql是CAP2.6版本的源码,升级MySqlConnector,用于支持FreeSQL使用。
10 |
11 |
--------------------------------------------------------------------------------
/framework/src/Bing.Events.Cap.MySql/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/framework/src/Bing.Events/Cap/Headers.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Events.Cap;
2 |
3 | internal class Headers
4 | {
5 | ///
6 | /// 跟踪标识
7 | ///
8 | public const string TraceId = "bing-trace-id";
9 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Events/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections;
2 | global using System.Reflection;
3 | global using System.Text;
4 |
5 | #if NETSTANDARD
6 | global using System;
7 | global using System.Collections.Generic;
8 | global using System.IO;
9 | global using System.Linq;
10 | global using System.Threading;
11 | global using System.Threading.Tasks;
12 | #endif
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.ExceptionHandling/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections;
2 | global using System.Reflection;
3 | global using System.Text;
4 |
5 | #if NETSTANDARD
6 | global using System;
7 | global using System.Collections.Generic;
8 | global using System.IO;
9 | global using System.Linq;
10 | global using System.Threading;
11 | global using System.Threading.Tasks;
12 | #endif
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Extensions.SkyApm.Diagnostics.Sql/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/framework/src/Bing.Extensions.SkyApm.Diagnostics.Sql/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.FreeSQL.MySql/Bing/FreeSQL/MySql/AggregateRootMap.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.FreeSQL.MySql;
2 |
3 | ///
4 | /// 聚合根映射配置
5 | ///
6 | /// 实体类型
7 | public abstract class AggregateRootMap : MapBase, IMap where TEntity : class
8 | {
9 | }
10 |
--------------------------------------------------------------------------------
/framework/src/Bing.FreeSQL.MySql/Bing/FreeSQL/MySql/EntityMap.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.FreeSQL.MySql;
2 |
3 | ///
4 | /// 实体映射配置
5 | ///
6 | /// 实体类型
7 | public abstract class EntityMap : MapBase, IMap where TEntity : class
8 | {
9 | }
--------------------------------------------------------------------------------
/framework/src/Bing.FreeSQL.MySql/Bing/FreeSQL/MySql/IMap.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.FreeSQL.MySql;
2 |
3 | ///
4 | /// 映射
5 | ///
6 | public interface IMap : Bing.FreeSQL.IMap
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.FreeSQL.MySql/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.FreeSQL.MySql/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.FreeSQL/Bing/FreeSQL/IMap.cs:
--------------------------------------------------------------------------------
1 | using FreeSql;
2 |
3 | namespace Bing.FreeSQL;
4 |
5 | ///
6 | /// 映射
7 | ///
8 | public interface IMap
9 | {
10 | ///
11 | /// 映射配置
12 | ///
13 | /// 模型生成器
14 | void Map(ICodeFirst modelBuilder);
15 | }
--------------------------------------------------------------------------------
/framework/src/Bing.FreeSQL/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/framework/src/Bing.FreeSQL/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/framework/src/Bing.Locks.CSRedis/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.Locks.CSRedis/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.Logging.Serilog/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using Serilog;
2 | global using Serilog.Core;
3 | global using Serilog.Events;
4 |
5 | #if NETSTANDARD
6 | global using System;
7 | global using System.Collections.Generic;
8 | global using System.IO;
9 | global using System.Linq;
10 | global using System.Threading;
11 | global using System.Threading.Tasks;
12 | #endif
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.Logging/Bing/Logging/IBingLoggingOptionsExtension.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Extensions.DependencyInjection;
2 |
3 | namespace Bing.Logging;
4 |
5 | ///
6 | /// Bing 日志选项配置扩展
7 | ///
8 | public interface IBingLoggingOptionsExtension
9 | {
10 | ///
11 | /// 注册子服务
12 | ///
13 | /// 服务集合
14 | void AddServices(IServiceCollection services);
15 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Logging/Bing/Logging/ILogContextAccessor.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Logging;
2 |
3 | ///
4 | /// 日志上下文访问器
5 | ///
6 | public interface ILogContextAccessor
7 | {
8 | ///
9 | /// 日志上下文
10 | ///
11 | LogContext Context { get; }
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Logging/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Text;
2 | global using System.Runtime.CompilerServices;
3 | global using Microsoft.Extensions.Logging;
4 |
5 | #if NETSTANDARD
6 | global using System;
7 | global using System.Collections.Generic;
8 | global using System.IO;
9 | global using System.Linq;
10 | global using System.Threading;
11 | global using System.Threading.Tasks;
12 | #endif
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.MailKit/Bing.MailKit.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 | Bing.MailKit
4 | Bing.MailKit
5 | Bing.MailKit是Bing应用框架的邮件操作类库。
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/framework/src/Bing.MailKit/Bing/MailKit/Configs/IMailKitConfigProvider.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.MailKit.Configs;
2 |
3 | ///
4 | /// MailKit 配置提供器
5 | ///
6 | public interface IMailKitConfigProvider
7 | {
8 | ///
9 | /// 获取配置
10 | ///
11 | MailKitConfig GetConfig();
12 |
13 | ///
14 | /// 获取配置
15 | ///
16 | Task GetConfigAsync();
17 | }
18 |
--------------------------------------------------------------------------------
/framework/src/Bing.MailKit/Bing/MailKit/IMailKitEmailSender.cs:
--------------------------------------------------------------------------------
1 | using Bing.Emailing;
2 |
3 | namespace Bing.MailKit;
4 |
5 | ///
6 | /// MailKit电子邮件发送器
7 | ///
8 | public interface IMailKitEmailSender : IEmailSender
9 | {
10 | }
--------------------------------------------------------------------------------
/framework/src/Bing.MailKit/Bing/MailKit/IMailKitSmtpBuilder.cs:
--------------------------------------------------------------------------------
1 | using MailKit.Net.Smtp;
2 |
3 | namespace Bing.MailKit;
4 |
5 | ///
6 | /// MailKit SMTP生成器
7 | ///
8 | public interface IMailKitSmtpBuilder
9 | {
10 | ///
11 | /// 生成SMTP客户端
12 | ///
13 | SmtpClient Build();
14 | }
--------------------------------------------------------------------------------
/framework/src/Bing.MailKit/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.MailKit/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.MiniProfiler/Bing/MiniProfiler/MiniProfilerModule.cs:
--------------------------------------------------------------------------------
1 | using System.ComponentModel;
2 |
3 | namespace Bing.MiniProfiler;
4 |
5 | ///
6 | /// MiniProfiler 模块
7 | ///
8 | [Description("MiniProfiler模块")]
9 | public class MiniProfilerModule : MiniProfilerModuleBase
10 | {
11 | }
--------------------------------------------------------------------------------
/framework/src/Bing.MiniProfiler/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.MiniProfiler/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.MultiTenancy.Abstractions/Bing/MultiTenancy/ICurrentTenantAccessor.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.MultiTenancy;
2 |
3 | ///
4 | /// 当前租户访问器
5 | ///
6 | public interface ICurrentTenantAccessor
7 | {
8 | ///
9 | /// 当前基本租户信息
10 | ///
11 | BasicTenantInfo? Current { get; set; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.MultiTenancy.Abstractions/Bing/MultiTenancy/ITenantResolveResultAccessor.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.MultiTenancy;
2 |
3 | ///
4 | /// 租户解析结果访问器
5 | ///
6 | public interface ITenantResolveResultAccessor
7 | {
8 | ///
9 | /// 租户解析结果
10 | ///
11 | TenantResolveResult? Result { get; set; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.MultiTenancy.Abstractions/Bing/MultiTenancy/ITenantResolver.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.MultiTenancy;
2 |
3 | ///
4 | /// 租户解析器
5 | ///
6 | public interface ITenantResolver
7 | {
8 | ///
9 | /// 解析当前租户
10 | ///
11 | ///
12 | /// 租户ID,租户名称,null(如果无法解析则返回空)
13 | ///
14 | Task ResolveTenantIdOrNameAsync();
15 | }
16 |
--------------------------------------------------------------------------------
/framework/src/Bing.MultiTenancy.Abstractions/Bing/MultiTenancy/Localization/BingMultiTenancyResource.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.MultiTenancy.Localization;
2 |
3 | public class BingMultiTenancyResource
4 | {
5 | }
6 |
--------------------------------------------------------------------------------
/framework/src/Bing.MultiTenancy.Abstractions/Bing/MultiTenancy/Localization/BingMultiTenancyResource.zh-Hans.json:
--------------------------------------------------------------------------------
1 | {
2 | "TenantNotFoundMessage": "找不到租户!",
3 | "TenantNotFoundDetails": "无法找到ID或名称为{0}的租户",
4 | "TenantNotActiveMessage": "租户未启用!",
5 | "TenantNotActiveDetails": "ID或名称为{0}的租户未启用"
6 | }
--------------------------------------------------------------------------------
/framework/src/Bing.MultiTenancy.Abstractions/Bing/MultiTenancy/TenantResolverConst.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.MultiTenancy;
2 |
3 | ///
4 | /// 租户解析器常量
5 | ///
6 | public class TenantResolverConst
7 | {
8 | ///
9 | /// 默认租户键名。默认值:x-tenant-id
10 | ///
11 | public const string DefaultTenantKey = "x-tenant-id";
12 | }
13 |
--------------------------------------------------------------------------------
/framework/src/Bing.MultiTenancy/Bing/MultiTenancy/NullTenantResolveResultAccessor.cs:
--------------------------------------------------------------------------------
1 | using Bing.DependencyInjection;
2 |
3 | namespace Bing.MultiTenancy;
4 |
5 | ///
6 | /// 空的租户解析结果访问器
7 | ///
8 | public class NullTenantResolveResultAccessor : ITenantResolveResultAccessor, ISingletonDependency
9 | {
10 | ///
11 | /// 租户解析结果
12 | ///
13 | public TenantResolveResult? Result { get => null; set { } }
14 | }
15 |
--------------------------------------------------------------------------------
/framework/src/Bing.ObjectMapping/Bing/ObjectMapping/IMapperProfileTypeFinder.cs:
--------------------------------------------------------------------------------
1 | using Bing.Reflection;
2 |
3 | namespace Bing.ObjectMapping;
4 |
5 | ///
6 | /// 对象映射配置类型查找器
7 | ///
8 | public interface IMapperProfileTypeFinder : ITypeFinder
9 | {
10 | }
--------------------------------------------------------------------------------
/framework/src/Bing.ObjectMapping/Bing/ObjectMapping/IObjectMapperProfile.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.ObjectMapping;
2 |
3 | ///
4 | /// 定义映射器
5 | ///
6 | public interface IObjectMapperProfile
7 | {
8 | ///
9 | /// 创建映射配置
10 | ///
11 | void CreateMap();
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.ObjectMapping/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/framework/src/Bing.ObjectMapping/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.Permissions/Identity/Models/ApplicationBase.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Permissions.Identity.Models;
2 |
3 | ///
4 | /// 应用程序基类
5 | ///
6 | public abstract partial class ApplicationBase
7 | {
8 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Permissions/Identity/Options/SignInOptions.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Permissions.Identity.Options;
2 |
3 | ///
4 | /// 登录配置
5 | ///
6 | public class SignInOptions
7 | {
8 | ///
9 | /// 必须确认电子邮件才能登录
10 | ///
11 | public bool ConfirmedEmail { get; set; }
12 |
13 | ///
14 | /// 必须确认手机号才能登录
15 | ///
16 | public bool ConfirmedPhoneNumber { get; set; }
17 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Permissions/Identity/Purposes/TokenPurpose.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Permissions.Identity.Purposes;
2 |
3 | ///
4 | /// 令牌用途
5 | ///
6 | public static class TokenPurpose
7 | {
8 | ///
9 | /// 手机号注册
10 | ///
11 | public const string PhoneRegister = "PhoneRegister";
12 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Permissions/Identity/Results/SignInState.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Permissions.Identity.Results;
2 |
3 | ///
4 | /// 登录状态
5 | ///
6 | public enum SignInState
7 | {
8 | ///
9 | /// 登录成功
10 | ///
11 | Succeeded,
12 |
13 | ///
14 | /// 失败
15 | ///
16 | Failed,
17 |
18 | ///
19 | /// 需要两阶段认证
20 | ///
21 | TwoFactor
22 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Permissions/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/framework/src/Bing.Security/Bing/Clients/ICurrentClient.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Clients;
2 |
3 | ///
4 | /// 当前客户端
5 | ///
6 | public interface ICurrentClient
7 | {
8 | ///
9 | /// 标识
10 | ///
11 | string Id { get; }
12 |
13 | ///
14 | /// 是否已认证
15 | ///
16 | bool IsAuthenticated { get; }
17 | }
--------------------------------------------------------------------------------
/framework/src/Bing.Security/Bing/SecurityLog/ISecurityLogManager.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.SecurityLog;
2 |
3 | ///
4 | /// 安全日志管理
5 | ///
6 | public interface ISecurityLogManager
7 | {
8 | ///
9 | /// 保存
10 | ///
11 | /// 保存操作
12 | Task SaveAsync(Action saveAction = null);
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Security/Bing/SecurityLog/ISecurityLogStore.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.SecurityLog;
2 |
3 | ///
4 | /// 安全日志存储器
5 | ///
6 | public interface ISecurityLogStore
7 | {
8 | ///
9 | /// 保存
10 | ///
11 | /// 安全日志信息
12 | Task SaveAsync(SecurityLogInfo securityLogInfo);
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Security/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/framework/src/Bing.TextTemplating/Bing/TextTemplating/ITemplateContentContributor.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.TextTemplating;
2 |
3 | ///
4 | /// 模板内容构造者
5 | ///
6 | public interface ITemplateContentContributor
7 | {
8 | ///
9 | /// 获取模板内容
10 | ///
11 | /// 模板内容构造者上下文
12 | Task GetOrNullAsync(TemplateContentContributorContext context);
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Uow/Bing.Uow.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 | Bing.Uow
4 | Bing.Uow
5 | Bing.Uow 是Bing应用框架的工作单元类库。
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/framework/src/Bing.Validation.Abstractions/Bing/Validation/IValidationCallbackHandler.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Validation;
2 |
3 | ///
4 | /// 验证回调处理器
5 | ///
6 | public interface IValidationCallbackHandler
7 | {
8 | ///
9 | /// 处理
10 | ///
11 | /// 验证结果
12 | void Handle(IValidationResult result);
13 | }
14 |
--------------------------------------------------------------------------------
/framework/src/Bing.Validation/Bing/Validation/NothingHandler.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Validation;
2 |
3 | ///
4 | /// 验证失败,不做任何处理
5 | ///
6 | public class NothingHandler : IValidationCallbackHandler
7 | {
8 | ///
9 | /// 处理验证错误
10 | ///
11 | /// 验证结果
12 | public void Handle(IValidationResult result)
13 | {
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/framework/src/Bing.Validation/dependency.props:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/framework/src/Bing.Validation/global-usings.cs:
--------------------------------------------------------------------------------
1 | #if NETSTANDARD
2 | global using System;
3 | global using System.Collections.Generic;
4 | global using System.IO;
5 | global using System.Linq;
6 | global using System.Threading;
7 | global using System.Threading.Tasks;
8 | #endif
9 |
--------------------------------------------------------------------------------
/framework/src/Bing.Validation/references.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Aop.AspectCore.Tests/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections.Generic;
2 | global using System.Collections;
3 | global using System.IO;
4 | global using System.Linq;
5 | global using System.Reflection;
6 | global using System.Text;
7 | global using System.Threading.Tasks;
8 | global using System.Threading;
9 | global using System;
10 | global using Xunit;
11 | global using Shouldly;
12 |
--------------------------------------------------------------------------------
/framework/tests/Bing.AspNetCore.Mvc.Tests/Bing/AspNetCore/Mvc/FakeUserClaims.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Security.Claims;
3 | using Bing.DependencyInjection;
4 |
5 | namespace Bing.AspNetCore.Mvc;
6 |
7 | public class FakeUserClaims : ISingletonDependency
8 | {
9 | public List Claims { get; } = new List();
10 | }
11 |
--------------------------------------------------------------------------------
/framework/tests/Bing.AspNetCore.Mvc.Tests/Properties/launchSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "profiles": {
3 | "Bing.AspNetCore.Mvc.Tests": {
4 | "commandName": "Project",
5 | "launchBrowser": true,
6 | "environmentVariables": {
7 | "ASPNETCORE_ENVIRONMENT": "Development"
8 | },
9 | "applicationUrl": "https://localhost:7405;http://localhost:7406"
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/framework/tests/Bing.AspNetCore.Mvc.Tests/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections.Generic;
2 | global using System.Collections;
3 | global using System.IO;
4 | global using System.Linq;
5 | global using System.Reflection;
6 | global using System.Text;
7 | global using System.Threading.Tasks;
8 | global using System.Threading;
9 | global using System;
10 | global using Xunit;
11 | global using Shouldly;
12 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Auditing.Tests/Bing.Auditing.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | false
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/framework/tests/Bing.AutoMapper.Tests/Bing/Tests/Samples/AutoMapperSourceSample.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Tests.Samples;
2 |
3 | public class AutoMapperSourceSample
4 | {
5 | public string SourceStringValue { get; set; }
6 | }
7 |
--------------------------------------------------------------------------------
/framework/tests/Bing.AutoMapper.Tests/Bing/Tests/Samples/AutoMapperTargetSample.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Tests.Samples;
2 |
3 | public class AutoMapperTargetSample
4 | {
5 | public string TargetSampleValue { get; set; }
6 | }
7 |
--------------------------------------------------------------------------------
/framework/tests/Bing.AutoMapper.Tests/Bing/Tests/Samples/EnumSample.cs:
--------------------------------------------------------------------------------
1 | using System.ComponentModel;
2 |
3 | namespace Bing.Tests.Samples;
4 |
5 | ///
6 | /// 枚举测试样例
7 | ///
8 | public enum EnumSample
9 | {
10 | A = 1,
11 | [Description("B2")]
12 | B = 2,
13 | [Description("C3")]
14 | C = 3,
15 | [Description("D4")]
16 | D = 4,
17 | [Description("E5")]
18 | E = 5
19 | }
20 |
--------------------------------------------------------------------------------
/framework/tests/Bing.AutoMapper.Tests/Bing/Tests/Samples/Sample4.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Tests.Samples;
2 |
3 | ///
4 | /// 测试样例4
5 | ///
6 | public class Sample4
7 | {
8 | ///
9 | /// string值
10 | ///
11 | public string StringValue { get; set; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/tests/Bing.AutoMapper.Tests/Bing/Tests/Samples/Sample7.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Tests.Samples;
2 |
3 | ///
4 | /// 样例7
5 | ///
6 | public class Sample7
7 | {
8 | public string Name { get; set; }
9 | public Sample5 Sample75 { get; set; }
10 | }
11 |
12 | ///
13 | /// 样例转换7
14 | ///
15 | public class Sample7to
16 | {
17 | public string Name { get; set; }
18 | public Sample5 Sample75 { get; set; }
19 | }
20 |
--------------------------------------------------------------------------------
/framework/tests/Bing.AutoMapper.Tests/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections.Generic;
2 | global using System.Collections;
3 | global using System.IO;
4 | global using System.Linq;
5 | global using System.Reflection;
6 | global using System.Text;
7 | global using System.Threading.Tasks;
8 | global using System.Threading;
9 | global using System;
10 | global using Xunit;
11 | global using Shouldly;
12 |
13 | global using Bing.Tests.Samples;
14 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Caching.CSRedis.Tests.Integration/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections.Generic;
2 | global using System.Collections;
3 | global using System.IO;
4 | global using System.Linq;
5 | global using System.Reflection;
6 | global using System.Text;
7 | global using System.Threading.Tasks;
8 | global using System.Threading;
9 | global using System;
10 | global using Xunit;
11 | global using Shouldly;
12 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Caching.FreeRedis.Tests.Integration/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections.Generic;
2 | global using System.Collections;
3 | global using System.IO;
4 | global using System.Linq;
5 | global using System.Reflection;
6 | global using System.Text;
7 | global using System.Threading.Tasks;
8 | global using System.Threading;
9 | global using System;
10 | global using Xunit;
11 | global using Shouldly;
12 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Core.Tests/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections.Generic;
2 | global using System.Collections;
3 | global using System.IO;
4 | global using System.Linq;
5 | global using System.Reflection;
6 | global using System.Text;
7 | global using System.Threading.Tasks;
8 | global using System.Threading;
9 | global using System;
10 | global using Xunit;
11 | global using Shouldly;
12 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Dapper.MySql.Tests.Integration/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Trace",
5 | "Microsoft": "Trace",
6 | "Bing.Dapper.Sql": "Trace"
7 | }
8 | },
9 | "ConnectionStrings": {
10 | "DefaultConnection": "server=10.186.135.162;user=root;password=bing2019.00;database=bing_dapper_test;port=3306;charset=utf8"
11 | }
12 | }
--------------------------------------------------------------------------------
/framework/tests/Bing.Dapper.MySql.Tests.Integration/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Trace",
5 | "Microsoft": "Error"
6 | }
7 | },
8 | "ConnectionStrings": {
9 | "DefaultConnection": "server=10.186.135.162;user=root;password=bing2019.00;database=bing_dapper_test;port=3306;charset=utf8"
10 | }
11 | }
--------------------------------------------------------------------------------
/framework/tests/Bing.Dapper.MySql.Tests.Integration/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections.Generic;
2 | global using System.Collections;
3 | global using System.IO;
4 | global using System.Linq;
5 | global using System.Reflection;
6 | global using System.Text;
7 | global using System.Threading.Tasks;
8 | global using System.Threading;
9 | global using System;
10 | global using Xunit;
11 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Dapper.MySql.Tests/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections.Generic;
2 | global using System.Collections;
3 | global using System.IO;
4 | global using System.Linq;
5 | global using System.Reflection;
6 | global using System.Text;
7 | global using System.Threading.Tasks;
8 | global using System.Threading;
9 | global using System;
10 | global using Xunit;
11 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Dapper.Oracle.Tests/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections.Generic;
2 | global using System.Collections;
3 | global using System.IO;
4 | global using System.Linq;
5 | global using System.Reflection;
6 | global using System.Text;
7 | global using System.Threading.Tasks;
8 | global using System.Threading;
9 | global using System;
10 | global using Xunit;
11 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Dapper.PostgreSql.Tests.Integration/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections.Generic;
2 | global using System.Collections;
3 | global using System.IO;
4 | global using System.Linq;
5 | global using System.Reflection;
6 | global using System.Text;
7 | global using System.Threading.Tasks;
8 | global using System.Threading;
9 | global using System;
10 | global using Xunit;
11 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Dapper.PostgreSql.Tests/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections.Generic;
2 | global using System.Collections;
3 | global using System.IO;
4 | global using System.Linq;
5 | global using System.Reflection;
6 | global using System.Text;
7 | global using System.Threading.Tasks;
8 | global using System.Threading;
9 | global using System;
10 | global using Xunit;
11 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Dapper.SqlServer.Tests.Integration/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections.Generic;
2 | global using System.Collections;
3 | global using System.IO;
4 | global using System.Linq;
5 | global using System.Reflection;
6 | global using System.Text;
7 | global using System.Threading.Tasks;
8 | global using System.Threading;
9 | global using System;
10 | global using Xunit;
11 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Data.Sql.Tests/Bing.Data.Sql.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | false
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Data.Sql.Tests/Samples/Sample5.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Tests.Samples;
2 |
3 | public class Sample5 : Sample, ISoftDelete
4 | {
5 | }
6 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Data.Sql.Tests/Samples/Sample6.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Tests.Samples;
2 |
3 | public class Sample6 : Sample, ISoftDelete
4 | {
5 | }
6 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Data.Sql.Tests/Samples/Sample7.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Tests.Samples;
2 |
3 | public class Sample7 : Sample, ISoftDelete
4 | {
5 | }
6 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Data.Sql.Tests/Samples/Sample8.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Tests.Samples;
2 |
3 | public class Sample8 : Sample, ISoftDelete
4 | {
5 | }
6 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Data.Sql.Tests/Samples/SampleEnum.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Tests.Samples;
2 |
3 | ///
4 | /// 简单枚举
5 | ///
6 | public enum SampleEnum
7 | {
8 | One = 1,
9 | Two = 2,
10 | Three = 3
11 | }
12 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Data.Sql.Tests/Samples/Test2.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Tests.Samples;
2 |
3 | public class Test2
4 | {
5 | public string Name { get; set; }
6 | }
7 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Data.Sql.Tests/Samples/TestParameter.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Data.Sql.Tests.Samples;
2 |
3 | ///
4 | /// 测试参数
5 | ///
6 | public class TestParameter
7 | {
8 | ///
9 | /// 编码
10 | ///
11 | public string Code { get; set; }
12 | }
13 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Data.Sql.Tests/Samples/TestTableDatabase.cs:
--------------------------------------------------------------------------------
1 | using Bing.Data.Sql.Metadata;
2 |
3 | namespace Bing.Data.Sql.Tests.Samples;
4 |
5 | ///
6 | /// 表数据库
7 | ///
8 | public class TestTableDatabase : ITableDatabase
9 | {
10 | ///
11 | /// 获取数据库
12 | ///
13 | /// 表
14 | public string GetDatabase(string table) => "test";
15 | }
16 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Data.Sql.Tests/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using System.Collections.Generic;
2 | global using System.Collections;
3 | global using System.IO;
4 | global using System.Linq;
5 | global using System.Reflection;
6 | global using System.Text;
7 | global using System.Threading.Tasks;
8 | global using System.Threading;
9 | global using System;
10 | global using Xunit;
11 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Data.Tests/Bing.Data.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | false
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Ddd.Domain.Tests/Bing/Tests/Samples/EnumSample.cs:
--------------------------------------------------------------------------------
1 | using System.ComponentModel;
2 |
3 | namespace Bing.Tests.Samples;
4 |
5 | ///
6 | /// 枚举测试样例
7 | ///
8 | public enum EnumSample
9 | {
10 | A = 1,
11 | [Description("B2")]
12 | B = 2,
13 | [Description("C3")]
14 | C = 3,
15 | [Description("D4")]
16 | D = 4,
17 | [Description("E5")]
18 | E = 5
19 | }
--------------------------------------------------------------------------------
/framework/tests/Bing.Ddd.Domain.Tests/Bing/Tests/Samples/ValidationHandlerSample.cs:
--------------------------------------------------------------------------------
1 | using Bing.Validation;
2 |
3 | namespace Bing.Tests.Samples;
4 |
5 | ///
6 | /// 验证处理器样例 - 什么也不做
7 | ///
8 | public class ValidationHandlerSample : IValidationCallbackHandler
9 | {
10 | ///
11 | /// 处理验证错误
12 | ///
13 | /// 验证结果集合
14 | public void Handle(IValidationResult results) { }
15 | }
--------------------------------------------------------------------------------
/framework/tests/Bing.EventBus.Tests/Bing.EventBus.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Bing.EventBus.Tests.Startup
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Resources/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Extensions.Localization;
2 | [assembly: ResourceLocation("Resources2")]
3 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Resources/ResourceTypes/Resource101.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Localization.Resources.ResourceTypes;
2 |
3 | ///
4 | /// 资源类型101
5 | ///
6 | public class Resource101
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Resources/ResourceTypes/Resource102.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Localization.Resources.ResourceTypes;
2 |
3 | ///
4 | /// 资源类型102
5 | ///
6 | public class Resource102
7 | {
8 | }
9 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Resources/Resources2/ResourceTypes.Resource101.en-US.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello": "hi"
3 | }
4 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Resources/Resources2/ResourceTypes.Resource101.zh-CN.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello": "哈楼"
3 | }
4 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Resources/Resources2/ResourceTypes/Resource102.zh-CN.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello": "哈罗"
3 | }
4 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Extensions.Localization;
2 | [assembly: RootNamespace("Bing.Localization")]
3 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/ResourceTypes/Resource1.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Localization.ResourceTypes;
2 |
3 | ///
4 | /// 资源类型1
5 | ///
6 | public class Resource1 {
7 | }
8 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/ResourceTypes/Resource2.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Localization.ResourceTypes;
2 |
3 | ///
4 | /// 资源类型2
5 | ///
6 | public class Resource2 {
7 | }
8 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/ResourceTypes/Resource3.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Localization.ResourceTypes;
2 |
3 | ///
4 | /// 资源类型3
5 | ///
6 | public class Resource3 {
7 | }
8 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/ResourceTypes/Resource4.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Localization.ResourceTypes;
2 |
3 | ///
4 | /// 资源类型4
5 | ///
6 | public class Resource4 {
7 |
8 | ///
9 | /// 资源类型41 - 测试内部类
10 | ///
11 | public class Resource41 {
12 | }
13 |
14 | }
15 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/ResourceTypes/Resource5.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Localization.ResourceTypes;
2 |
3 | ///
4 | /// 资源类型5
5 | ///
6 | public class Resource5 {
7 | }
8 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/ResourceTypes/Resource6.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Localization.ResourceTypes;
2 |
3 | ///
4 | /// 资源类型6
5 | ///
6 | public class Resource6 {
7 | }
8 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/Resources/ResourceTypes.Resource1.en-US.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello": "hi"
3 | }
4 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/Resources/ResourceTypes.Resource1.zh-CN.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello": "哈楼"
3 | }
4 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/Resources/ResourceTypes/Resource2.en-US.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello": "hi"
3 | }
4 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/Resources/ResourceTypes/Resource2.zh-CN.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello": "哈楼",
3 | "World": "世界",
4 | "Hello,{0},{1},World": "哈楼,{0},{1},世界"
5 | }
6 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/Resources/ResourceTypes/Resource2.zh-Hans.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello": "哈哈",
3 | "World": "世界"
4 | }
5 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/Resources/ResourceTypes/Resource2.zh.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello": "嘿嘿",
3 | "World": "世界"
4 | }
5 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/Resources/ResourceTypes/Resource3.zh-Hans.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello": "哈哈",
3 | "World": "世界"
4 | }
5 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/Resources/ResourceTypes/Resource4.Resource41.zh-CN.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello": "嘻嘻",
3 | "World": "世界"
4 | }
5 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/Resources/ResourceTypes/Resource4.zh.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello": "嘿嘿",
3 | "World": "世界"
4 | }
5 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/Resources/ResourceTypes/Resource5.zh-CN.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello": "哈楼",
3 | "World": "世界"
4 | }
5 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/Resources/ResourceTypes/Resource5.zh-Hans.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello2": "哈楼2",
3 | "World2": "世界2"
4 | }
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/Resources/ResourceTypes/Resource5.zh.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello3": "哈楼3",
3 | "World3": "世界3"
4 | }
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/Resources/zh.json:
--------------------------------------------------------------------------------
1 | {
2 | "Hello": "呜呜",
3 | "World": "世界"
4 | }
5 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests.Integration/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using Xunit;
2 | global using Xunit.Abstractions;
3 | global using System.Globalization;
4 | global using System.Linq;
5 | global using System.Reflection;
6 | global using Microsoft.Extensions.Localization;
7 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Localization.Tests/Samples/TestType.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Localization.Samples;
2 |
3 | ///
4 | /// 测试类型
5 | ///
6 | public class TestType
7 | {
8 | }
9 |
10 | ///
11 | /// 测试类型2
12 | ///
13 | [LocalizedType("test2")]
14 | public class TestType2
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Logging.Tests/Bing.Logging.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | false
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/framework/tests/Bing.MailKit.Tests/Bing.MailKit.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | false
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/framework/tests/Bing.MailKit.Tests/TestBase.cs:
--------------------------------------------------------------------------------
1 | using Xunit.Abstractions;
2 |
3 | namespace Bing.MailKit.Tests;
4 |
5 | public class TestBase
6 | {
7 | protected ITestOutputHelper Output;
8 |
9 | public TestBase(ITestOutputHelper output)
10 | {
11 | Output = output;
12 | }
13 | }
--------------------------------------------------------------------------------
/framework/tests/Bing.MultiTenancy.Tests/MultiTenancyResourceTest.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.MultiTenancy;
2 |
3 | ///
4 | /// 多租户资源测试
5 | ///
6 | public class MultiTenancyResourceTest
7 | {
8 | ///
9 | /// 测试 - 多租户资源
10 | ///
11 | [Fact]
12 | public void Test_MultiTenancyResource()
13 | {
14 |
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/framework/tests/Bing.MultiTenancy.Tests/global-usings.cs:
--------------------------------------------------------------------------------
1 | global using Xunit;
--------------------------------------------------------------------------------
/framework/tests/Bing.TestShare/Bing - Backup.TestShare.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net6.0
5 | enable
6 | enable
7 | Bing.Tests
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/framework/tests/Bing.TestShare/Models/ProductEnum.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Tests.Models;
2 |
3 | ///
4 | /// 用于测试枚举扩展属性
5 | ///
6 | public enum ProductEnum
7 | {
8 | Hello,
9 | World
10 | }
11 |
--------------------------------------------------------------------------------
/framework/tests/Bing.TestShare/UnitOfWorks/ITestUnitOfWork.cs:
--------------------------------------------------------------------------------
1 | using Bing.Uow;
2 |
3 | namespace Bing.Tests.UnitOfWorks;
4 |
5 | ///
6 | /// 测试工作单元
7 | ///
8 | public interface ITestUnitOfWork : IUnitOfWork
9 | {
10 | }
11 |
--------------------------------------------------------------------------------
/framework/tests/Bing.Tests/Samples/ChildSample.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Bing.Tests.Samples;
4 |
5 | [Serializable]
6 | public class ChildSample
7 | {
8 | public OneSample One { get; set; }
9 |
10 | public OneSample Two { get; set; }
11 |
12 | public string Name { get; set; }
13 | }
--------------------------------------------------------------------------------
/framework/tests/Bing.Tests/Samples/OneSample.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Bing.Tests.Samples;
4 |
5 | [Serializable]
6 | public class OneSample
7 | {
8 | public string Name { get; set; }
9 |
10 | public string Desc { get; set; }
11 |
12 | public int Age { get; set; }
13 | }
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Commons.Domain/Models/Area.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Commons.Domain.Models;
3 |
4 | ///
5 | /// 地区
6 | ///
7 | public partial class Area
8 | {
9 | }
10 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Commons.Domain/Models/Dictionary.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Commons.Domain.Models;
3 |
4 | ///
5 | /// 字典
6 | ///
7 | public partial class Dictionary
8 | {
9 | }
10 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Commons.Domain/Models/File.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Commons.Domain.Models;
3 |
4 | ///
5 | /// 文件
6 | ///
7 | public partial class File
8 | {
9 | }
10 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Commons.Domain/Repositories/IAreaRepository.cs:
--------------------------------------------------------------------------------
1 | using Bing.Domain.Repositories;
2 | using Bing.Admin.Commons.Domain.Models;
3 |
4 | namespace Bing.Admin.Commons.Domain.Repositories
5 | {
6 | ///
7 | /// 地区仓储
8 | ///
9 | public interface IAreaRepository : IRepository
10 | {
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Commons.Domain/Repositories/IDictionaryRepository.cs:
--------------------------------------------------------------------------------
1 | using Bing.Domain.Repositories;
2 | using Bing.Admin.Commons.Domain.Models;
3 |
4 | namespace Bing.Admin.Commons.Domain.Repositories
5 | {
6 | ///
7 | /// 字典仓储
8 | ///
9 | public interface IDictionaryRepository : IRepository
10 | {
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Commons.Domain/Repositories/IFileRepository.cs:
--------------------------------------------------------------------------------
1 | using Bing.Domain.Repositories;
2 | using Bing.Admin.Commons.Domain.Models;
3 |
4 | namespace Bing.Admin.Commons.Domain.Repositories
5 | {
6 | ///
7 | /// 文件仓储
8 | ///
9 | public interface IFileRepository : IRepository
10 | {
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Commons.Domain/Repositories/IUserInfoRepository.cs:
--------------------------------------------------------------------------------
1 | using Bing.Domain.Repositories;
2 | using Bing.Admin.Commons.Domain.Models;
3 |
4 | namespace Bing.Admin.Commons.Domain.Repositories
5 | {
6 | ///
7 | /// 用户信息仓储
8 | ///
9 | public interface IUserInfoRepository : IRepository
10 | {
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Commons.Domain/Services/Abstractions/IAreaManager.cs:
--------------------------------------------------------------------------------
1 | using Bing.Domain.Services;
2 |
3 | namespace Bing.Admin.Commons.Domain.Services.Abstractions
4 | {
5 | ///
6 | /// 地区管理
7 | ///
8 | public interface IAreaManager : IDomainService
9 | {
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Commons.Domain/Services/Abstractions/IDictionaryManager.cs:
--------------------------------------------------------------------------------
1 | using Bing.Domain.Services;
2 |
3 | namespace Bing.Admin.Commons.Domain.Services.Abstractions
4 | {
5 | ///
6 | /// 字典管理
7 | ///
8 | public interface IDictionaryManager : IDomainService
9 | {
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Commons.Domain/Services/Abstractions/IFileManager.cs:
--------------------------------------------------------------------------------
1 | using Bing.Domain.Services;
2 |
3 | namespace Bing.Admin.Commons.Domain.Services.Abstractions
4 | {
5 | ///
6 | /// 文件管理
7 | ///
8 | public interface IFileManager : IDomainService
9 | {
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Commons.Domain/Services/Abstractions/IUserInfoManager.cs:
--------------------------------------------------------------------------------
1 | using Bing.Domain.Services;
2 |
3 | namespace Bing.Admin.Commons.Domain.Services.Abstractions
4 | {
5 | ///
6 | /// 用户信息管理
7 | ///
8 | public interface IUserInfoManager : IDomainService
9 | {
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Data/IAdminReadonlyUnitOfWork.cs:
--------------------------------------------------------------------------------
1 | using Bing.Uow;
2 |
3 | namespace Bing.Admin.Data
4 | {
5 | ///
6 | /// 只读工作单元
7 | ///
8 | public interface IAdminReadonlyUnitOfWork : IUnitOfWork
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Data/IAdminUnitOfWork.cs:
--------------------------------------------------------------------------------
1 | using Bing.Uow;
2 |
3 | namespace Bing.Admin.Data
4 | {
5 | ///
6 | /// 工作单元
7 | ///
8 | public interface IAdminUnitOfWork : IUnitOfWork
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Data/Pos/Systems/Models/ApiResourceExtend.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace Bing.Admin.Data.Pos.Systems.Models
4 | {
5 | ///
6 | /// Api资源扩展信息
7 | ///
8 | public class ApiResourceExtend
9 | {
10 | ///
11 | /// 用户声明
12 | ///
13 | public List Claims { get; set; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Data/Pos/Systems/Models/OperationExtend.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Admin.Data.Pos.Systems.Models
2 | {
3 | ///
4 | /// 操作资源扩展信息
5 | ///
6 | public class OperationExtend
7 | {
8 | ///
9 | /// 图标
10 | ///
11 | public string Icon { get; set; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Data/Stores/Abstractions/Systems/IApplicationPoStore.cs:
--------------------------------------------------------------------------------
1 | using Bing.Admin.Data.Pos.Systems;
2 | using Bing.Data;
3 |
4 | namespace Bing.Admin.Data.Stores.Abstractions.Systems
5 | {
6 | ///
7 | /// 应用程序存储器
8 | ///
9 | public interface IApplicationPoStore : IStore
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Domain.Shared/ApplicationCode.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Admin.Domain.Shared
2 | {
3 | ///
4 | /// 应用程序编码
5 | ///
6 | public class ApplicationCode
7 | {
8 | ///
9 | /// 后台管理
10 | ///
11 | public static string Admin => "Bing.Admin.Admin";
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Domain.Shared/Bing.Admin.Domain.Shared.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net6.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.EventHandlers/Bing.Admin.EventHandlers.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net6.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.FreeSQL/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Debug",
5 | "System": "Information",
6 | "Microsoft": "Information"
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Infrastructure/QueueGroupConst.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Admin.Infrastructure
2 | {
3 | ///
4 | /// 队列分组常量
5 | ///
6 | public static class QueueGroupConst
7 | {
8 | ///
9 | /// 用户登录日志
10 | ///
11 | public const string UserLoginLog = "user_login_log";
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service.Shared/Bing.Admin.Service.Shared.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net6.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service/Abstractions/Commons/IAreaService.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Service.Abstractions.Commons
3 | {
4 | ///
5 | /// 地区 服务
6 | ///
7 | public interface IAreaService : Bing.Application.Services.IAppService
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service/Abstractions/Commons/IDictionaryService.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Service.Abstractions.Commons
3 | {
4 | ///
5 | /// 字典 服务
6 | ///
7 | public interface IDictionaryService : Bing.Application.Services.IAppService
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service/Abstractions/Commons/IFileService.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Service.Abstractions.Commons
3 | {
4 | ///
5 | /// 文件 服务
6 | ///
7 | public interface IFileService : Bing.Application.Services.IAppService
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service/Abstractions/Commons/IQueryAreaService.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Service.Abstractions.Commons
3 | {
4 | ///
5 | /// 地区 查询服务
6 | ///
7 | public interface IQueryAreaService : Bing.Application.Services.IAppService
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service/Abstractions/Commons/IQueryDictionaryService.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Service.Abstractions.Commons
3 | {
4 | ///
5 | /// 字典 查询服务
6 | ///
7 | public interface IQueryDictionaryService : Bing.Application.Services.IAppService
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service/Abstractions/Commons/IQueryFileService.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Service.Abstractions.Commons
3 | {
4 | ///
5 | /// 文件 查询服务
6 | ///
7 | public interface IQueryFileService : Bing.Application.Services.IAppService
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service/Abstractions/Commons/IQueryUserInfoService.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Service.Abstractions.Commons
3 | {
4 | ///
5 | /// 用户信息 查询服务
6 | ///
7 | public interface IQueryUserInfoService : Bing.Application.Services.IAppService
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service/Abstractions/Commons/IUserInfoService.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Service.Abstractions.Commons
3 | {
4 | ///
5 | /// 用户信息 服务
6 | ///
7 | public interface IUserInfoService : Bing.Application.Services.IAppService
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service/Abstractions/ITestQueryService.cs:
--------------------------------------------------------------------------------
1 | using Bing.Admin.Service.Shared.Queries.Systems;
2 | using Bing.Admin.Service.Shared.Responses.Systems;
3 | using Bing.Application.Services;
4 |
5 | namespace Bing.Admin.Service.Abstractions
6 | {
7 | ///
8 | /// 测试 查询服务
9 | ///
10 | public interface ITestQueryService : IQueryAppService
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service/Abstractions/Systems/IQueryResourceService.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Service.Abstractions.Systems
3 | {
4 | ///
5 | /// 资源 查询服务
6 | ///
7 | public interface IQueryResourceService : Bing.Application.Services.IAppService
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service/Abstractions/Systems/IQueryRoleService.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Service.Abstractions.Systems
3 | {
4 | ///
5 | /// 角色 查询服务
6 | ///
7 | public interface IQueryRoleService : Bing.Application.Services.IAppService
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service/Abstractions/Systems/IQueryUserLoginLogService.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Service.Abstractions.Systems
3 | {
4 | ///
5 | /// 用户登录日志 查询服务
6 | ///
7 | public interface IQueryUserLoginLogService : Bing.Application.Services.IAppService
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service/Abstractions/Systems/IQueryUserService.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Service.Abstractions.Systems
3 | {
4 | ///
5 | /// 用户 查询服务
6 | ///
7 | public interface IQueryUserService : Bing.Application.Services.IAppService
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service/Abstractions/Systems/IResourceService.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Service.Abstractions.Systems
3 | {
4 | ///
5 | /// 资源 服务
6 | ///
7 | public interface IResourceService : Bing.Application.Services.IAppService
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Service/Abstractions/Systems/IUserLoginLogService.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Service.Abstractions.Systems
3 | {
4 | ///
5 | /// 用户登录日志 服务
6 | ///
7 | public interface IUserLoginLogService : Bing.Application.Services.IAppService
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Systems.Domain/Models/Application.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Systems.Domain.Models;
3 |
4 | ///
5 | /// 应用程序
6 | ///
7 | public partial class Application
8 | {
9 | }
10 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Systems.Domain/Models/Permission.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Systems.Domain.Models;
3 |
4 | ///
5 | /// 权限
6 | ///
7 | public partial class Permission
8 | {
9 | }
10 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Systems.Domain/Models/Resource.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Systems.Domain.Models;
3 |
4 | ///
5 | /// 资源
6 | ///
7 | public partial class Resource
8 | {
9 | }
10 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Systems.Domain/Models/Role.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Systems.Domain.Models;
3 |
4 | ///
5 | /// 角色
6 | ///
7 | public partial class Role
8 | {
9 | }
10 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Systems.Domain/Models/UserLoginLog.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Systems.Domain.Models;
3 |
4 | ///
5 | /// 用户登录日志
6 | ///
7 | public partial class UserLoginLog
8 | {
9 | }
10 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Systems.Domain/Models/UserRole.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Bing.Admin.Systems.Domain.Models;
3 |
4 | ///
5 | /// 用户角色
6 | ///
7 | public partial class UserRole
8 | {
9 | }
10 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Systems.Domain/Repositories/IAdministratorRepository.cs:
--------------------------------------------------------------------------------
1 | using Bing.Domain.Repositories;
2 | using Bing.Admin.Systems.Domain.Models;
3 |
4 | namespace Bing.Admin.Systems.Domain.Repositories
5 | {
6 | ///
7 | /// 管理员仓储
8 | ///
9 | public interface IAdministratorRepository : IRepository
10 | {
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Systems.Domain/Repositories/IResourceRepository.cs:
--------------------------------------------------------------------------------
1 | using Bing.Domain.Repositories;
2 | using Bing.Admin.Systems.Domain.Models;
3 |
4 | namespace Bing.Admin.Systems.Domain.Repositories
5 | {
6 | ///
7 | /// 资源仓储
8 | ///
9 | public interface IResourceRepository : IRepository
10 | {
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Systems.Domain/Repositories/IUserLoginLogRepository.cs:
--------------------------------------------------------------------------------
1 | using Bing.Domain.Repositories;
2 | using Bing.Admin.Systems.Domain.Models;
3 |
4 | namespace Bing.Admin.Systems.Domain.Repositories
5 | {
6 | ///
7 | /// 用户登录日志仓储
8 | ///
9 | public interface IUserLoginLogRepository : IRepository
10 | {
11 | }
12 | }
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Systems.Domain/Services/Abstractions/IApplicationManager.cs:
--------------------------------------------------------------------------------
1 | using Bing.Domain.Services;
2 |
3 | namespace Bing.Admin.Systems.Domain.Services.Abstractions
4 | {
5 | ///
6 | /// 应用程序管理
7 | ///
8 | public interface IApplicationManager : IDomainService
9 | {
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Systems.Domain/Services/Abstractions/IResourceManager.cs:
--------------------------------------------------------------------------------
1 | using Bing.Domain.Services;
2 |
3 | namespace Bing.Admin.Systems.Domain.Services.Abstractions
4 | {
5 | ///
6 | /// 资源管理
7 | ///
8 | public interface IResourceManager : IDomainService
9 | {
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Systems.Domain/Services/Abstractions/ISignInManager.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Bing.Admin.Systems.Domain.Models;
3 | using Bing.Permissions.Identity.Services.Abstractions;
4 |
5 | namespace Bing.Admin.Systems.Domain.Services.Abstractions
6 | {
7 | ///
8 | /// 登录管理
9 | ///
10 | public interface ISignInManager : ISignInManager
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin.Systems.Domain/Services/Abstractions/IUserRoleManager.cs:
--------------------------------------------------------------------------------
1 | using Bing.Domain.Services;
2 |
3 | namespace Bing.Admin.Systems.Domain.Services.Abstractions
4 | {
5 | ///
6 | /// 用户角色管理
7 | ///
8 | public interface IUserRoleManager : IDomainService
9 | {
10 | }
11 | }
--------------------------------------------------------------------------------
/modules/admin/src/Bing.Admin/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Debug",
5 | "System": "Warning",
6 | "Microsoft": "Warning",
7 | "Microsoft.EntityFrameworkCore": "Debug",
8 | "Bing": "Trace"
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/samples/Bing.Samples.Hangfire/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Debug"
5 | }
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/samples/Bing.Samples.Hangfire/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Debug",
5 | "Microsoft.AspNetCore.Hosting": "Warning",
6 | "Hangfire.Server": "Warning",
7 | "Bing": "Trace"
8 | }
9 | }
10 | }
--------------------------------------------------------------------------------
/samples/Bing.Samples.WebApi/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "DetailedErrors": true,
3 | "Logging": {
4 | "LogLevel": {
5 | "Default": "Information",
6 | "Microsoft.AspNetCore": "Warning"
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/samples/Bing.Samples.WebApi/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Information",
5 | "Microsoft.AspNetCore": "Warning"
6 | }
7 | },
8 | "AllowedHosts": "*"
9 | }
10 |
--------------------------------------------------------------------------------
/samples/Bing.Samples.Winform/Form1.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Samples.Winform
2 | {
3 | public partial class Form1 : Form
4 | {
5 | public Form1()
6 | {
7 | InitializeComponent();
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/templates/CodeSmith/CodeGenerator/Libraries/CodeSmith.Core.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bing-framework/Bing.NetCore/997600fe6153a1c5fbfe62d4b3407d8970ae9fb1/templates/CodeSmith/CodeGenerator/Libraries/CodeSmith.Core.dll
--------------------------------------------------------------------------------
/templates/CodeSmith/CodeGenerator/Libraries/CodeSmith.Engine.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bing-framework/Bing.NetCore/997600fe6153a1c5fbfe62d4b3407d8970ae9fb1/templates/CodeSmith/CodeGenerator/Libraries/CodeSmith.Engine.dll
--------------------------------------------------------------------------------
/templates/CodeSmith/CodeGenerator/Libraries/EntityFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bing-framework/Bing.NetCore/997600fe6153a1c5fbfe62d4b3407d8970ae9fb1/templates/CodeSmith/CodeGenerator/Libraries/EntityFramework.dll
--------------------------------------------------------------------------------
/templates/CodeSmith/CodeGenerator/Libraries/ICSharpCode.NRefactory.CSharp.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bing-framework/Bing.NetCore/997600fe6153a1c5fbfe62d4b3407d8970ae9fb1/templates/CodeSmith/CodeGenerator/Libraries/ICSharpCode.NRefactory.CSharp.dll
--------------------------------------------------------------------------------
/templates/CodeSmith/CodeGenerator/Libraries/ICSharpCode.NRefactory.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bing-framework/Bing.NetCore/997600fe6153a1c5fbfe62d4b3407d8970ae9fb1/templates/CodeSmith/CodeGenerator/Libraries/ICSharpCode.NRefactory.dll
--------------------------------------------------------------------------------
/templates/CodeSmith/CodeGenerator/Libraries/Mono.Cecil.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bing-framework/Bing.NetCore/997600fe6153a1c5fbfe62d4b3407d8970ae9fb1/templates/CodeSmith/CodeGenerator/Libraries/Mono.Cecil.dll
--------------------------------------------------------------------------------
/templates/CodeSmith/CodeGenerator/Libraries/SchemaExplorer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/bing-framework/Bing.NetCore/997600fe6153a1c5fbfe62d4b3407d8970ae9fb1/templates/CodeSmith/CodeGenerator/Libraries/SchemaExplorer.dll
--------------------------------------------------------------------------------
/tests/Bing.Tests.Samples/Bing/Tests/Samples/AutoMapperSourceSample.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Tests.Samples;
2 |
3 | public class AutoMapperSourceSample
4 | {
5 | public string SourceStringValue { get; set; }
6 | }
--------------------------------------------------------------------------------
/tests/Bing.Tests.Samples/Bing/Tests/Samples/AutoMapperTargetSample.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Tests.Samples;
2 |
3 | public class AutoMapperTargetSample
4 | {
5 | public string TargetSampleValue { get; set; }
6 | }
--------------------------------------------------------------------------------
/tests/Bing.Tests.Samples/Bing/Tests/Samples/EnumSample.cs:
--------------------------------------------------------------------------------
1 | using System.ComponentModel;
2 |
3 | namespace Bing.Tests.Samples;
4 |
5 | ///
6 | /// 枚举测试样例
7 | ///
8 | public enum EnumSample
9 | {
10 | A = 1,
11 | [Description("B2")]
12 | B = 2,
13 | [Description("C3")]
14 | C = 3,
15 | [Description("D4")]
16 | D = 4,
17 | [Description("E5")]
18 | E = 5
19 | }
--------------------------------------------------------------------------------
/tests/Bing.Tests.Samples/Bing/Tests/Samples/QueryParameterSample.cs:
--------------------------------------------------------------------------------
1 | using Bing.Data.Queries;
2 |
3 | namespace Bing.Tests.Samples;
4 |
5 | ///
6 | /// 查询参数测试样例
7 | ///
8 | public class QueryParameterSample : QueryParameter
9 | {
10 | ///
11 | /// 名称
12 | ///
13 | public string Name { get; set; }
14 | }
--------------------------------------------------------------------------------
/tests/Bing.Tests.Samples/Bing/Tests/Samples/Sample4.cs:
--------------------------------------------------------------------------------
1 | namespace Bing.Tests.Samples;
2 |
3 | ///
4 | /// 测试样例4
5 | ///
6 | public class Sample4
7 | {
8 | public string A { get; set; }
9 | public string B { get; set; }
10 | private string E { get; set; }
11 | protected string F { get; set; }
12 | private string _c;
13 | protected string _d;
14 | }
--------------------------------------------------------------------------------
/tests/Bing.Tests.Samples/Bing/Tests/Samples/ValidationHandlerSample.cs:
--------------------------------------------------------------------------------
1 | using Bing.Validation;
2 |
3 | namespace Bing.Tests.Samples;
4 |
5 | ///
6 | /// 验证处理器样例 - 什么也不做
7 | ///
8 | public class ValidationHandlerSample : IValidationCallbackHandler
9 | {
10 | ///
11 | /// 处理验证错误
12 | ///
13 | /// 验证结果集合
14 | public void Handle(IValidationResult results) { }
15 | }
--------------------------------------------------------------------------------
/version.props:
--------------------------------------------------------------------------------
1 |
2 |
3 | 6
4 | 0
5 | 0
6 | 20250319-1
7 | $(VersionMajor).$(VersionMinor).$(VersionPatch)
8 |
9 |
10 |
--------------------------------------------------------------------------------