├── .gitignore ├── README.md ├── RayPI.sln ├── samples ├── RayPI.Application │ ├── ApplicationModule.cs │ ├── ArticleApp │ │ ├── ArticleAutoMapperProfile.cs │ │ ├── Commands │ │ │ ├── CreateArticleCmdHandler.cs │ │ │ ├── DeleteArticleCmdHandler.cs │ │ │ └── UpdateArticleCmdHandler.cs │ │ ├── Dtos │ │ │ ├── ArticleDetailDto.cs │ │ │ ├── CreateArticleDto.cs │ │ │ ├── DeleteArticleDto.cs │ │ │ ├── QueryArticleDto.cs │ │ │ ├── QueryArticlePageDto.cs │ │ │ └── UpdateArticleDto.cs │ │ └── Queries │ │ │ ├── ArticlePageQueryHandler.cs │ │ │ └── ArticleQueryHandler.cs │ ├── CommentApp │ │ ├── CommentAppService.cs │ │ ├── CommentAutoMapperProfile.cs │ │ ├── Dtos │ │ │ └── CommentDto.cs │ │ └── ICommentAppService.cs │ ├── DomainEventHandlers │ │ └── ArticleAddedDomainEventHandler.cs │ ├── IntegrationEvents │ │ ├── EventHandlers │ │ │ └── ArticleAddedIntegrationEventHandler.cs │ │ └── Events │ │ │ └── ArticleAddedIntegrationEvent.cs │ └── RayPI.Application.csproj ├── RayPI.Domain │ ├── Aggregates │ │ ├── ArticleAggregate │ │ │ ├── Article.cs │ │ │ └── IArticleRepository.cs │ │ ├── BaseAggregateRoot.cs │ │ ├── BaseEntity.cs │ │ └── CommentAggregate │ │ │ └── Comment.cs │ ├── Events │ │ └── ArticleAddedDomainEvent.cs │ └── RayPI.Domain.csproj ├── RayPI.Infrastructure.Auth │ ├── Attributes │ │ ├── RayAuthorizeAttribute.cs │ │ └── RayAuthorizeFreeAttribute.cs │ ├── AuthService.cs │ ├── AuthStartupExtension.cs │ ├── Authorize │ │ ├── PolicyHandler.cs │ │ ├── RayPolicyProvider.cs │ │ └── RayRequirement.cs │ ├── Enums │ │ ├── AuthPolicyEnum.cs │ │ ├── ClaimEnum.cs │ │ ├── OperateEnum.cs │ │ ├── ResourceEnum.cs │ │ └── TokenTypeEnum.cs │ ├── IAuthService.cs │ ├── Jwt │ │ ├── IJwtService.cs │ │ ├── JwtOption.cs │ │ └── JwtService.cs │ ├── Models │ │ └── TokenModel.cs │ ├── Operate │ │ ├── IOperateInfo.cs │ │ ├── OperateInfo.cs │ │ └── OperateSetter.cs │ ├── Permission.cs │ └── RayPI.Infrastructure.Auth.csproj ├── RayPI.Infrastructure.Config │ ├── AllConfigModel.cs │ ├── ConfigModel │ │ ├── ConnectionStringsConfigModel.cs │ │ ├── JwtAuthConfigModel.cs │ │ ├── RayPIConfigModel.cs │ │ └── TestConfigModel.cs │ ├── Di │ │ └── ConfigDiExtension.cs │ ├── Extensions │ │ └── ServiceCollectionExtensions.cs │ ├── Options │ │ └── DbOption.cs │ └── RayPI.Infrastructure.Config.csproj ├── RayPI.Infrastructure.Cors │ ├── Attributes │ │ └── RayCorsAttribute.cs │ ├── Di │ │ └── CorsDiExtension.cs │ ├── Enums │ │ └── CorsPolicyEnum.cs │ └── RayPI.Infrastructure.Cors.csproj ├── RayPI.Infrastructure.ExceptionManager │ ├── Di │ │ └── ExceptionDiExtension.cs │ ├── Middleware │ │ └── ExceptionMiddleware.cs │ ├── RayAppException.cs │ └── RayPI.Infrastructure.RayException.csproj ├── RayPI.Infrastructure.Security │ ├── Enums │ │ ├── OperateEnum.cs │ │ └── ResourceEnum.cs │ ├── Interface │ │ └── IRoleEventsHandler.cs │ ├── Models │ │ ├── ApiInfoModel.cs │ │ ├── AuthConfig.cs │ │ ├── AuthConfigModel.cs │ │ ├── AuthenticateScheme.cs │ │ ├── EventsInfo.cs │ │ ├── ResponseToken.cs │ │ ├── RoleModel.cs │ │ └── UserModel.cs │ ├── Permission.cs │ ├── PolicyHandler.cs │ ├── PolicyRequirement.cs │ ├── RayPI.Infrastructure.Security.csproj │ ├── RoleMiddleware.cs │ ├── Services │ │ ├── AuthBuilder.cs │ │ ├── EncryptionHash.cs │ │ ├── ManaRole.cs │ │ ├── RoleEvents.cs │ │ └── RoleServiceExtension.cs │ └── StartupExtension.cs ├── RayPI.Infrastructure.Swagger │ ├── Extensions │ │ ├── ApplicationBuilderExtension.cs │ │ └── ServiceCollectionExtensions.cs │ ├── Filters │ │ ├── SwaggerDocTag.cs │ │ └── SwaggerHeader.cs │ └── RayPI.Infrastructure.Swagger.csproj ├── RayPI.Infrastructure.Treasury │ ├── Di │ │ └── DiHelper.cs │ ├── Enums │ │ └── SortEnum.cs │ ├── Extensions │ │ ├── LinqExtension.cs │ │ └── MemberExtension.cs │ ├── Helpers │ │ ├── FileHelper.cs │ │ └── IdGenerateHelper.cs │ ├── Interfaces │ │ └── IEntityBaseAutoSetter.cs │ ├── Models │ │ ├── ApiResponse.cs │ │ └── PageResult.cs │ ├── RayPI.Infrastructure.Treasury.csproj │ └── Snowflake │ │ ├── DisposableAction.cs │ │ ├── IdWorker.cs │ │ ├── InvalidSystemClockException.cs │ │ └── SnowflakeHelper.cs ├── RayPI.OpenApi │ ├── Controllers │ │ ├── AccountController.cs │ │ ├── ArticleController.cs │ │ └── CommentController.cs │ ├── Filters │ │ └── WebApiResultFilterAttribute.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── RayPI.OpenApi.csproj │ ├── Startup.cs │ ├── appsettings.Development.json │ ├── appsettings.json │ ├── web.config │ └── wwwroot │ │ ├── index.html │ │ └── js │ │ └── jquery-2.1.4.js └── RayPI.Repository.EFRepository │ ├── EntityTypeConfigurations │ ├── ArticleConfig.cs │ ├── BaseEntityTypeConfig.cs │ └── CommentConfig.cs │ ├── Migrations │ ├── 20200612024645_Initial.Designer.cs │ ├── 20200612024645_Initial.cs │ ├── 20200621124822_AddComment.Designer.cs │ ├── 20200621124822_AddComment.cs │ └── MyDbContextModelSnapshot.cs │ ├── MyDbContext.cs │ ├── RayPI.Repository.EFRepository.csproj │ ├── Repositories │ └── ArticleRepository.cs │ └── RepositoryModule.cs └── src ├── Ray.Application ├── AppServices │ ├── AppService.cs │ ├── CrudAppService.cs │ └── QueryAppService.cs ├── Dtos │ └── IEntityDto.cs ├── IAppServices │ ├── IAppService.cs │ ├── ICrudAppService.cs │ └── IQueryAppService.cs ├── Ray.Application.csproj └── RayApplicationModule.cs ├── Ray.Auditing ├── IHasCreationAuditing.cs ├── IHasDeletionAuditing.cs ├── IHasFullAuditing.cs ├── IHasModificationAuditing.cs ├── ILogicDeletable.cs ├── PropertySetter │ ├── AuditPropertySetter.cs │ └── IAuditPropertySetter.cs ├── Ray.Auditing.csproj └── RayAuditingModule.cs ├── Ray.Domain ├── Entities │ ├── AggregateRoot.cs │ ├── Attributes │ │ └── DisableIdGenerationAttribute.cs │ ├── Auditing │ │ ├── AuditedAggregateRoot.cs │ │ ├── AuditedEntity.cs │ │ ├── FullAuditedAggregateRoot.cs │ │ └── FullAuditedEntity.cs │ ├── Entity.cs │ ├── IAggregateRoot.cs │ └── IEntity.cs ├── Events │ ├── DomianEvent.cs │ ├── EntityCreatedDomainEvent.cs │ └── IDomainEvent.cs ├── Helpers │ └── EntityHelper.cs ├── ILogicDeletable.cs ├── Ray.Domain.csproj └── Repositories │ ├── BaseRepository.cs │ ├── IBaseRepository.cs │ ├── ICommandRepository.cs │ ├── IQueryRepository.cs │ ├── IRepository.cs │ ├── ITransaction.cs │ └── IUnitOfWork.cs ├── Ray.EventBus.RabbitMQ ├── DefaultRabbitMQPersistentConnection.cs ├── IRabbitMQPersistentConnection.cs ├── RabbitMQEventBus.cs ├── RabbitMqOptions.cs ├── Ray.EventBus.RabbitMQ.csproj └── RayRabbitMQEventBusModule.cs ├── Ray.EventBus ├── Abstractions │ ├── IDynamicIntegrationEventHandler.cs │ ├── IEventBus.cs │ └── IIntegrationEventHandler.cs ├── Events │ └── IntegrationEvent.cs ├── Extensions │ └── GenericTypeExtensions.cs ├── Ray.EventBus.csproj └── SubscriptionsManagers │ ├── IEventBusSubscriptionsManager.cs │ ├── InMemoryEventBusSubscriptionsManager.cs │ └── SubscriptionInfo.cs ├── Ray.Guids ├── IGuidGenerator.cs ├── Ray.Guids.csproj ├── RayGuidsModule.cs └── SimpleGuidGenerator.cs ├── Ray.Infrastructure ├── DI │ ├── Dtos │ │ ├── SerializeServiceDescriptorOptions.cs │ │ ├── ServiceCacheKeyDto.cs │ │ └── ServiceDescriptorDto.cs │ ├── Extensions │ │ ├── ServiceCollectionExtension.cs │ │ └── ServiceProviderExtension.cs │ ├── MsDiHelper.cs │ └── RayContainer.cs ├── DisposeAction.cs ├── Extensions │ ├── CollectionExtension.cs │ ├── DictionaryExtension.cs │ ├── EmitExtension.cs │ ├── GenericTypeExtension.cs │ ├── Json │ │ ├── FilterEnum.cs │ │ ├── FilterPropsContractResolver.cs │ │ ├── FilterPropsOption.cs │ │ ├── ObjectExtension.cs │ │ ├── SettingOption.cs │ │ └── StringExtension.cs │ ├── Linq │ │ ├── EnumerableExtension.cs │ │ ├── ExpressionExtension.cs │ │ └── QueryableExtension.cs │ ├── MemberExtension.cs │ ├── ObjectExtension.cs │ ├── StringExtension.cs │ └── TypeExtension.cs ├── Helpers │ ├── CheckHelper.cs │ ├── EnumHelper.cs │ └── ReflectionHelper.cs ├── Page │ ├── IPageAndSortRequest.cs │ ├── IPageRequest.cs │ ├── ISortRequest.cs │ ├── PageAndSortRequest.cs │ ├── PageHelper.cs │ ├── PageRequest.cs │ ├── PageResultDto.cs │ └── SortEnum.cs ├── Ray.Infrastructure.csproj ├── Test │ ├── ITest.cs │ └── TestFactory.cs └── Threading │ ├── CancellationTokenProviderExtension.cs │ ├── ICancellationTokenProvider.cs │ └── NullCancellationTokenProvider.cs ├── Ray.ObjectMap.AutoMapper ├── AutoMapperAutoObjectMapper.cs ├── AutoMapperHelper.cs ├── AutoMapperModule.cs └── Ray.ObjectMap.AutoMapper.csproj ├── Ray.ObjectMap ├── DefaultRayMapper.cs ├── IAutoObjectMapper.cs ├── IObjectMapper.cs ├── IRayMapper.cs ├── NotImplementedAutoObjectMapper.cs ├── Ray.ObjectMap.csproj └── RayMapperModule.cs ├── Ray.Repository.Dapper ├── Class1.cs └── Ray.Repository.Dapper.csproj ├── Ray.Repository.EfCore ├── Behaviors │ └── TransactionBehavior.cs ├── EntityTypeConfiguration.cs ├── Extensions │ └── EntityTypeBuilderExtension.cs ├── MediatorExtension.cs ├── Ray.Repository.EfCore.csproj ├── RayDbContext.cs ├── RayEfCoreRepositoryModule.cs └── Repositories │ ├── EfRepository.cs │ └── IEfRepository.cs └── Ray.Security ├── Claims ├── ICurrentPrincipalAccessor.cs ├── RayClaimTypes.cs └── ThreadCurrentPrincipalAccessor.cs ├── Principal └── RayClaimsIdentityExtension.cs ├── Ray.Security.csproj ├── RaySecurityModule.cs └── User ├── CurrentUser.cs ├── CurrentUserExtension.cs └── ICurrentUser.cs /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/README.md -------------------------------------------------------------------------------- /RayPI.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/RayPI.sln -------------------------------------------------------------------------------- /samples/RayPI.Application/ApplicationModule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/ApplicationModule.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/ArticleApp/ArticleAutoMapperProfile.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/ArticleApp/ArticleAutoMapperProfile.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/ArticleApp/Commands/CreateArticleCmdHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/ArticleApp/Commands/CreateArticleCmdHandler.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/ArticleApp/Commands/DeleteArticleCmdHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/ArticleApp/Commands/DeleteArticleCmdHandler.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/ArticleApp/Commands/UpdateArticleCmdHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/ArticleApp/Commands/UpdateArticleCmdHandler.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/ArticleApp/Dtos/ArticleDetailDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/ArticleApp/Dtos/ArticleDetailDto.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/ArticleApp/Dtos/CreateArticleDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/ArticleApp/Dtos/CreateArticleDto.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/ArticleApp/Dtos/DeleteArticleDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/ArticleApp/Dtos/DeleteArticleDto.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/ArticleApp/Dtos/QueryArticleDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/ArticleApp/Dtos/QueryArticleDto.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/ArticleApp/Dtos/QueryArticlePageDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/ArticleApp/Dtos/QueryArticlePageDto.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/ArticleApp/Dtos/UpdateArticleDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/ArticleApp/Dtos/UpdateArticleDto.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/ArticleApp/Queries/ArticlePageQueryHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/ArticleApp/Queries/ArticlePageQueryHandler.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/ArticleApp/Queries/ArticleQueryHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/ArticleApp/Queries/ArticleQueryHandler.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/CommentApp/CommentAppService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/CommentApp/CommentAppService.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/CommentApp/CommentAutoMapperProfile.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/CommentApp/CommentAutoMapperProfile.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/CommentApp/Dtos/CommentDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/CommentApp/Dtos/CommentDto.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/CommentApp/ICommentAppService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/CommentApp/ICommentAppService.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/DomainEventHandlers/ArticleAddedDomainEventHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/DomainEventHandlers/ArticleAddedDomainEventHandler.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/IntegrationEvents/EventHandlers/ArticleAddedIntegrationEventHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/IntegrationEvents/EventHandlers/ArticleAddedIntegrationEventHandler.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/IntegrationEvents/Events/ArticleAddedIntegrationEvent.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/IntegrationEvents/Events/ArticleAddedIntegrationEvent.cs -------------------------------------------------------------------------------- /samples/RayPI.Application/RayPI.Application.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Application/RayPI.Application.csproj -------------------------------------------------------------------------------- /samples/RayPI.Domain/Aggregates/ArticleAggregate/Article.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Domain/Aggregates/ArticleAggregate/Article.cs -------------------------------------------------------------------------------- /samples/RayPI.Domain/Aggregates/ArticleAggregate/IArticleRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Domain/Aggregates/ArticleAggregate/IArticleRepository.cs -------------------------------------------------------------------------------- /samples/RayPI.Domain/Aggregates/BaseAggregateRoot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Domain/Aggregates/BaseAggregateRoot.cs -------------------------------------------------------------------------------- /samples/RayPI.Domain/Aggregates/BaseEntity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Domain/Aggregates/BaseEntity.cs -------------------------------------------------------------------------------- /samples/RayPI.Domain/Aggregates/CommentAggregate/Comment.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Domain/Aggregates/CommentAggregate/Comment.cs -------------------------------------------------------------------------------- /samples/RayPI.Domain/Events/ArticleAddedDomainEvent.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Domain/Events/ArticleAddedDomainEvent.cs -------------------------------------------------------------------------------- /samples/RayPI.Domain/RayPI.Domain.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Domain/RayPI.Domain.csproj -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Attributes/RayAuthorizeAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Attributes/RayAuthorizeAttribute.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Attributes/RayAuthorizeFreeAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Attributes/RayAuthorizeFreeAttribute.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/AuthService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/AuthService.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/AuthStartupExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/AuthStartupExtension.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Authorize/PolicyHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Authorize/PolicyHandler.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Authorize/RayPolicyProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Authorize/RayPolicyProvider.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Authorize/RayRequirement.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Authorize/RayRequirement.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Enums/AuthPolicyEnum.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Enums/AuthPolicyEnum.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Enums/ClaimEnum.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Enums/ClaimEnum.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Enums/OperateEnum.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Enums/OperateEnum.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Enums/ResourceEnum.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Enums/ResourceEnum.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Enums/TokenTypeEnum.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Enums/TokenTypeEnum.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/IAuthService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/IAuthService.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Jwt/IJwtService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Jwt/IJwtService.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Jwt/JwtOption.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Jwt/JwtOption.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Jwt/JwtService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Jwt/JwtService.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Models/TokenModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Models/TokenModel.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Operate/IOperateInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Operate/IOperateInfo.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Operate/OperateInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Operate/OperateInfo.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Operate/OperateSetter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Operate/OperateSetter.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/Permission.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/Permission.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Auth/RayPI.Infrastructure.Auth.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Auth/RayPI.Infrastructure.Auth.csproj -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Config/AllConfigModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Config/AllConfigModel.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Config/ConfigModel/ConnectionStringsConfigModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Config/ConfigModel/ConnectionStringsConfigModel.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Config/ConfigModel/JwtAuthConfigModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Config/ConfigModel/JwtAuthConfigModel.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Config/ConfigModel/RayPIConfigModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Config/ConfigModel/RayPIConfigModel.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Config/ConfigModel/TestConfigModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Config/ConfigModel/TestConfigModel.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Config/Di/ConfigDiExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Config/Di/ConfigDiExtension.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Config/Extensions/ServiceCollectionExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Config/Extensions/ServiceCollectionExtensions.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Config/Options/DbOption.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Config/Options/DbOption.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Config/RayPI.Infrastructure.Config.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Config/RayPI.Infrastructure.Config.csproj -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Cors/Attributes/RayCorsAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Cors/Attributes/RayCorsAttribute.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Cors/Di/CorsDiExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Cors/Di/CorsDiExtension.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Cors/Enums/CorsPolicyEnum.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Cors/Enums/CorsPolicyEnum.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Cors/RayPI.Infrastructure.Cors.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Cors/RayPI.Infrastructure.Cors.csproj -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.ExceptionManager/Di/ExceptionDiExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.ExceptionManager/Di/ExceptionDiExtension.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.ExceptionManager/Middleware/ExceptionMiddleware.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.ExceptionManager/Middleware/ExceptionMiddleware.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.ExceptionManager/RayAppException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.ExceptionManager/RayAppException.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.ExceptionManager/RayPI.Infrastructure.RayException.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.ExceptionManager/RayPI.Infrastructure.RayException.csproj -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Enums/OperateEnum.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Enums/OperateEnum.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Enums/ResourceEnum.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Enums/ResourceEnum.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Interface/IRoleEventsHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Interface/IRoleEventsHandler.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Models/ApiInfoModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Models/ApiInfoModel.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Models/AuthConfig.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Models/AuthConfig.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Models/AuthConfigModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Models/AuthConfigModel.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Models/AuthenticateScheme.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Models/AuthenticateScheme.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Models/EventsInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Models/EventsInfo.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Models/ResponseToken.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Models/ResponseToken.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Models/RoleModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Models/RoleModel.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Models/UserModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Models/UserModel.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Permission.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Permission.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/PolicyHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/PolicyHandler.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/PolicyRequirement.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/PolicyRequirement.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/RayPI.Infrastructure.Security.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/RayPI.Infrastructure.Security.csproj -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/RoleMiddleware.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/RoleMiddleware.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Services/AuthBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Services/AuthBuilder.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Services/EncryptionHash.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Services/EncryptionHash.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Services/ManaRole.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Services/ManaRole.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Services/RoleEvents.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Services/RoleEvents.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/Services/RoleServiceExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/Services/RoleServiceExtension.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Security/StartupExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Security/StartupExtension.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Swagger/Extensions/ApplicationBuilderExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Swagger/Extensions/ApplicationBuilderExtension.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Swagger/Extensions/ServiceCollectionExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Swagger/Extensions/ServiceCollectionExtensions.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Swagger/Filters/SwaggerDocTag.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Swagger/Filters/SwaggerDocTag.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Swagger/Filters/SwaggerHeader.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Swagger/Filters/SwaggerHeader.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Swagger/RayPI.Infrastructure.Swagger.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Swagger/RayPI.Infrastructure.Swagger.csproj -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Treasury/Di/DiHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Treasury/Di/DiHelper.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Treasury/Enums/SortEnum.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Treasury/Enums/SortEnum.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Treasury/Extensions/LinqExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Treasury/Extensions/LinqExtension.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Treasury/Extensions/MemberExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Treasury/Extensions/MemberExtension.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Treasury/Helpers/FileHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Treasury/Helpers/FileHelper.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Treasury/Helpers/IdGenerateHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Treasury/Helpers/IdGenerateHelper.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Treasury/Interfaces/IEntityBaseAutoSetter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Treasury/Interfaces/IEntityBaseAutoSetter.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Treasury/Models/ApiResponse.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Treasury/Models/ApiResponse.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Treasury/Models/PageResult.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Treasury/Models/PageResult.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Treasury/RayPI.Infrastructure.Treasury.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Treasury/RayPI.Infrastructure.Treasury.csproj -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Treasury/Snowflake/DisposableAction.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Treasury/Snowflake/DisposableAction.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Treasury/Snowflake/IdWorker.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Treasury/Snowflake/IdWorker.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Treasury/Snowflake/InvalidSystemClockException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Treasury/Snowflake/InvalidSystemClockException.cs -------------------------------------------------------------------------------- /samples/RayPI.Infrastructure.Treasury/Snowflake/SnowflakeHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Infrastructure.Treasury/Snowflake/SnowflakeHelper.cs -------------------------------------------------------------------------------- /samples/RayPI.OpenApi/Controllers/AccountController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.OpenApi/Controllers/AccountController.cs -------------------------------------------------------------------------------- /samples/RayPI.OpenApi/Controllers/ArticleController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.OpenApi/Controllers/ArticleController.cs -------------------------------------------------------------------------------- /samples/RayPI.OpenApi/Controllers/CommentController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.OpenApi/Controllers/CommentController.cs -------------------------------------------------------------------------------- /samples/RayPI.OpenApi/Filters/WebApiResultFilterAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.OpenApi/Filters/WebApiResultFilterAttribute.cs -------------------------------------------------------------------------------- /samples/RayPI.OpenApi/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.OpenApi/Program.cs -------------------------------------------------------------------------------- /samples/RayPI.OpenApi/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.OpenApi/Properties/launchSettings.json -------------------------------------------------------------------------------- /samples/RayPI.OpenApi/RayPI.OpenApi.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.OpenApi/RayPI.OpenApi.csproj -------------------------------------------------------------------------------- /samples/RayPI.OpenApi/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.OpenApi/Startup.cs -------------------------------------------------------------------------------- /samples/RayPI.OpenApi/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.OpenApi/appsettings.Development.json -------------------------------------------------------------------------------- /samples/RayPI.OpenApi/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.OpenApi/appsettings.json -------------------------------------------------------------------------------- /samples/RayPI.OpenApi/web.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.OpenApi/web.config -------------------------------------------------------------------------------- /samples/RayPI.OpenApi/wwwroot/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.OpenApi/wwwroot/index.html -------------------------------------------------------------------------------- /samples/RayPI.OpenApi/wwwroot/js/jquery-2.1.4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.OpenApi/wwwroot/js/jquery-2.1.4.js -------------------------------------------------------------------------------- /samples/RayPI.Repository.EFRepository/EntityTypeConfigurations/ArticleConfig.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Repository.EFRepository/EntityTypeConfigurations/ArticleConfig.cs -------------------------------------------------------------------------------- /samples/RayPI.Repository.EFRepository/EntityTypeConfigurations/BaseEntityTypeConfig.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Repository.EFRepository/EntityTypeConfigurations/BaseEntityTypeConfig.cs -------------------------------------------------------------------------------- /samples/RayPI.Repository.EFRepository/EntityTypeConfigurations/CommentConfig.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Repository.EFRepository/EntityTypeConfigurations/CommentConfig.cs -------------------------------------------------------------------------------- /samples/RayPI.Repository.EFRepository/Migrations/20200612024645_Initial.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Repository.EFRepository/Migrations/20200612024645_Initial.Designer.cs -------------------------------------------------------------------------------- /samples/RayPI.Repository.EFRepository/Migrations/20200612024645_Initial.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Repository.EFRepository/Migrations/20200612024645_Initial.cs -------------------------------------------------------------------------------- /samples/RayPI.Repository.EFRepository/Migrations/20200621124822_AddComment.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Repository.EFRepository/Migrations/20200621124822_AddComment.Designer.cs -------------------------------------------------------------------------------- /samples/RayPI.Repository.EFRepository/Migrations/20200621124822_AddComment.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Repository.EFRepository/Migrations/20200621124822_AddComment.cs -------------------------------------------------------------------------------- /samples/RayPI.Repository.EFRepository/Migrations/MyDbContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Repository.EFRepository/Migrations/MyDbContextModelSnapshot.cs -------------------------------------------------------------------------------- /samples/RayPI.Repository.EFRepository/MyDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Repository.EFRepository/MyDbContext.cs -------------------------------------------------------------------------------- /samples/RayPI.Repository.EFRepository/RayPI.Repository.EFRepository.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Repository.EFRepository/RayPI.Repository.EFRepository.csproj -------------------------------------------------------------------------------- /samples/RayPI.Repository.EFRepository/Repositories/ArticleRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Repository.EFRepository/Repositories/ArticleRepository.cs -------------------------------------------------------------------------------- /samples/RayPI.Repository.EFRepository/RepositoryModule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/samples/RayPI.Repository.EFRepository/RepositoryModule.cs -------------------------------------------------------------------------------- /src/Ray.Application/AppServices/AppService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Application/AppServices/AppService.cs -------------------------------------------------------------------------------- /src/Ray.Application/AppServices/CrudAppService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Application/AppServices/CrudAppService.cs -------------------------------------------------------------------------------- /src/Ray.Application/AppServices/QueryAppService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Application/AppServices/QueryAppService.cs -------------------------------------------------------------------------------- /src/Ray.Application/Dtos/IEntityDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Application/Dtos/IEntityDto.cs -------------------------------------------------------------------------------- /src/Ray.Application/IAppServices/IAppService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Application/IAppServices/IAppService.cs -------------------------------------------------------------------------------- /src/Ray.Application/IAppServices/ICrudAppService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Application/IAppServices/ICrudAppService.cs -------------------------------------------------------------------------------- /src/Ray.Application/IAppServices/IQueryAppService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Application/IAppServices/IQueryAppService.cs -------------------------------------------------------------------------------- /src/Ray.Application/Ray.Application.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Application/Ray.Application.csproj -------------------------------------------------------------------------------- /src/Ray.Application/RayApplicationModule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Application/RayApplicationModule.cs -------------------------------------------------------------------------------- /src/Ray.Auditing/IHasCreationAuditing.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Auditing/IHasCreationAuditing.cs -------------------------------------------------------------------------------- /src/Ray.Auditing/IHasDeletionAuditing.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Auditing/IHasDeletionAuditing.cs -------------------------------------------------------------------------------- /src/Ray.Auditing/IHasFullAuditing.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Auditing/IHasFullAuditing.cs -------------------------------------------------------------------------------- /src/Ray.Auditing/IHasModificationAuditing.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Auditing/IHasModificationAuditing.cs -------------------------------------------------------------------------------- /src/Ray.Auditing/ILogicDeletable.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Auditing/ILogicDeletable.cs -------------------------------------------------------------------------------- /src/Ray.Auditing/PropertySetter/AuditPropertySetter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Auditing/PropertySetter/AuditPropertySetter.cs -------------------------------------------------------------------------------- /src/Ray.Auditing/PropertySetter/IAuditPropertySetter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Auditing/PropertySetter/IAuditPropertySetter.cs -------------------------------------------------------------------------------- /src/Ray.Auditing/Ray.Auditing.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Auditing/Ray.Auditing.csproj -------------------------------------------------------------------------------- /src/Ray.Auditing/RayAuditingModule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Auditing/RayAuditingModule.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Entities/AggregateRoot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Entities/AggregateRoot.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Entities/Attributes/DisableIdGenerationAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Entities/Attributes/DisableIdGenerationAttribute.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Entities/Auditing/AuditedAggregateRoot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Entities/Auditing/AuditedAggregateRoot.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Entities/Auditing/AuditedEntity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Entities/Auditing/AuditedEntity.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Entities/Auditing/FullAuditedAggregateRoot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Entities/Auditing/FullAuditedAggregateRoot.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Entities/Auditing/FullAuditedEntity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Entities/Auditing/FullAuditedEntity.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Entities/Entity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Entities/Entity.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Entities/IAggregateRoot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Entities/IAggregateRoot.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Entities/IEntity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Entities/IEntity.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Events/DomianEvent.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Events/DomianEvent.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Events/EntityCreatedDomainEvent.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Events/EntityCreatedDomainEvent.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Events/IDomainEvent.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Events/IDomainEvent.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Helpers/EntityHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Helpers/EntityHelper.cs -------------------------------------------------------------------------------- /src/Ray.Domain/ILogicDeletable.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/ILogicDeletable.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Ray.Domain.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Ray.Domain.csproj -------------------------------------------------------------------------------- /src/Ray.Domain/Repositories/BaseRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Repositories/BaseRepository.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Repositories/IBaseRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Repositories/IBaseRepository.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Repositories/ICommandRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Repositories/ICommandRepository.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Repositories/IQueryRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Repositories/IQueryRepository.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Repositories/IRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Repositories/IRepository.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Repositories/ITransaction.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Repositories/ITransaction.cs -------------------------------------------------------------------------------- /src/Ray.Domain/Repositories/IUnitOfWork.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Domain/Repositories/IUnitOfWork.cs -------------------------------------------------------------------------------- /src/Ray.EventBus.RabbitMQ/DefaultRabbitMQPersistentConnection.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.EventBus.RabbitMQ/DefaultRabbitMQPersistentConnection.cs -------------------------------------------------------------------------------- /src/Ray.EventBus.RabbitMQ/IRabbitMQPersistentConnection.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.EventBus.RabbitMQ/IRabbitMQPersistentConnection.cs -------------------------------------------------------------------------------- /src/Ray.EventBus.RabbitMQ/RabbitMQEventBus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.EventBus.RabbitMQ/RabbitMQEventBus.cs -------------------------------------------------------------------------------- /src/Ray.EventBus.RabbitMQ/RabbitMqOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.EventBus.RabbitMQ/RabbitMqOptions.cs -------------------------------------------------------------------------------- /src/Ray.EventBus.RabbitMQ/Ray.EventBus.RabbitMQ.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.EventBus.RabbitMQ/Ray.EventBus.RabbitMQ.csproj -------------------------------------------------------------------------------- /src/Ray.EventBus.RabbitMQ/RayRabbitMQEventBusModule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.EventBus.RabbitMQ/RayRabbitMQEventBusModule.cs -------------------------------------------------------------------------------- /src/Ray.EventBus/Abstractions/IDynamicIntegrationEventHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.EventBus/Abstractions/IDynamicIntegrationEventHandler.cs -------------------------------------------------------------------------------- /src/Ray.EventBus/Abstractions/IEventBus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.EventBus/Abstractions/IEventBus.cs -------------------------------------------------------------------------------- /src/Ray.EventBus/Abstractions/IIntegrationEventHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.EventBus/Abstractions/IIntegrationEventHandler.cs -------------------------------------------------------------------------------- /src/Ray.EventBus/Events/IntegrationEvent.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.EventBus/Events/IntegrationEvent.cs -------------------------------------------------------------------------------- /src/Ray.EventBus/Extensions/GenericTypeExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.EventBus/Extensions/GenericTypeExtensions.cs -------------------------------------------------------------------------------- /src/Ray.EventBus/Ray.EventBus.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.EventBus/Ray.EventBus.csproj -------------------------------------------------------------------------------- /src/Ray.EventBus/SubscriptionsManagers/IEventBusSubscriptionsManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.EventBus/SubscriptionsManagers/IEventBusSubscriptionsManager.cs -------------------------------------------------------------------------------- /src/Ray.EventBus/SubscriptionsManagers/InMemoryEventBusSubscriptionsManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.EventBus/SubscriptionsManagers/InMemoryEventBusSubscriptionsManager.cs -------------------------------------------------------------------------------- /src/Ray.EventBus/SubscriptionsManagers/SubscriptionInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.EventBus/SubscriptionsManagers/SubscriptionInfo.cs -------------------------------------------------------------------------------- /src/Ray.Guids/IGuidGenerator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Guids/IGuidGenerator.cs -------------------------------------------------------------------------------- /src/Ray.Guids/Ray.Guids.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Guids/Ray.Guids.csproj -------------------------------------------------------------------------------- /src/Ray.Guids/RayGuidsModule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Guids/RayGuidsModule.cs -------------------------------------------------------------------------------- /src/Ray.Guids/SimpleGuidGenerator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Guids/SimpleGuidGenerator.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/DI/Dtos/SerializeServiceDescriptorOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/DI/Dtos/SerializeServiceDescriptorOptions.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/DI/Dtos/ServiceCacheKeyDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/DI/Dtos/ServiceCacheKeyDto.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/DI/Dtos/ServiceDescriptorDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/DI/Dtos/ServiceDescriptorDto.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/DI/Extensions/ServiceCollectionExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/DI/Extensions/ServiceCollectionExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/DI/Extensions/ServiceProviderExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/DI/Extensions/ServiceProviderExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/DI/MsDiHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/DI/MsDiHelper.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/DI/RayContainer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/DI/RayContainer.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/DisposeAction.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/DisposeAction.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/CollectionExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/CollectionExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/DictionaryExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/DictionaryExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/EmitExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/EmitExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/GenericTypeExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/GenericTypeExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/Json/FilterEnum.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/Json/FilterEnum.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/Json/FilterPropsContractResolver.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/Json/FilterPropsContractResolver.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/Json/FilterPropsOption.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/Json/FilterPropsOption.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/Json/ObjectExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/Json/ObjectExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/Json/SettingOption.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/Json/SettingOption.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/Json/StringExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/Json/StringExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/Linq/EnumerableExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/Linq/EnumerableExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/Linq/ExpressionExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/Linq/ExpressionExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/Linq/QueryableExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/Linq/QueryableExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/MemberExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/MemberExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/ObjectExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/ObjectExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/StringExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/StringExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Extensions/TypeExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Extensions/TypeExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Helpers/CheckHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Helpers/CheckHelper.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Helpers/EnumHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Helpers/EnumHelper.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Helpers/ReflectionHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Helpers/ReflectionHelper.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Page/IPageAndSortRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Page/IPageAndSortRequest.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Page/IPageRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Page/IPageRequest.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Page/ISortRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Page/ISortRequest.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Page/PageAndSortRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Page/PageAndSortRequest.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Page/PageHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Page/PageHelper.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Page/PageRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Page/PageRequest.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Page/PageResultDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Page/PageResultDto.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Page/SortEnum.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Page/SortEnum.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Ray.Infrastructure.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Ray.Infrastructure.csproj -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Test/ITest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Test/ITest.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Test/TestFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Test/TestFactory.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Threading/CancellationTokenProviderExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Threading/CancellationTokenProviderExtension.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Threading/ICancellationTokenProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Threading/ICancellationTokenProvider.cs -------------------------------------------------------------------------------- /src/Ray.Infrastructure/Threading/NullCancellationTokenProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Infrastructure/Threading/NullCancellationTokenProvider.cs -------------------------------------------------------------------------------- /src/Ray.ObjectMap.AutoMapper/AutoMapperAutoObjectMapper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.ObjectMap.AutoMapper/AutoMapperAutoObjectMapper.cs -------------------------------------------------------------------------------- /src/Ray.ObjectMap.AutoMapper/AutoMapperHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.ObjectMap.AutoMapper/AutoMapperHelper.cs -------------------------------------------------------------------------------- /src/Ray.ObjectMap.AutoMapper/AutoMapperModule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.ObjectMap.AutoMapper/AutoMapperModule.cs -------------------------------------------------------------------------------- /src/Ray.ObjectMap.AutoMapper/Ray.ObjectMap.AutoMapper.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.ObjectMap.AutoMapper/Ray.ObjectMap.AutoMapper.csproj -------------------------------------------------------------------------------- /src/Ray.ObjectMap/DefaultRayMapper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.ObjectMap/DefaultRayMapper.cs -------------------------------------------------------------------------------- /src/Ray.ObjectMap/IAutoObjectMapper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.ObjectMap/IAutoObjectMapper.cs -------------------------------------------------------------------------------- /src/Ray.ObjectMap/IObjectMapper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.ObjectMap/IObjectMapper.cs -------------------------------------------------------------------------------- /src/Ray.ObjectMap/IRayMapper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.ObjectMap/IRayMapper.cs -------------------------------------------------------------------------------- /src/Ray.ObjectMap/NotImplementedAutoObjectMapper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.ObjectMap/NotImplementedAutoObjectMapper.cs -------------------------------------------------------------------------------- /src/Ray.ObjectMap/Ray.ObjectMap.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.ObjectMap/Ray.ObjectMap.csproj -------------------------------------------------------------------------------- /src/Ray.ObjectMap/RayMapperModule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.ObjectMap/RayMapperModule.cs -------------------------------------------------------------------------------- /src/Ray.Repository.Dapper/Class1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Repository.Dapper/Class1.cs -------------------------------------------------------------------------------- /src/Ray.Repository.Dapper/Ray.Repository.Dapper.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Repository.Dapper/Ray.Repository.Dapper.csproj -------------------------------------------------------------------------------- /src/Ray.Repository.EfCore/Behaviors/TransactionBehavior.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Repository.EfCore/Behaviors/TransactionBehavior.cs -------------------------------------------------------------------------------- /src/Ray.Repository.EfCore/EntityTypeConfiguration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Repository.EfCore/EntityTypeConfiguration.cs -------------------------------------------------------------------------------- /src/Ray.Repository.EfCore/Extensions/EntityTypeBuilderExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Repository.EfCore/Extensions/EntityTypeBuilderExtension.cs -------------------------------------------------------------------------------- /src/Ray.Repository.EfCore/MediatorExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Repository.EfCore/MediatorExtension.cs -------------------------------------------------------------------------------- /src/Ray.Repository.EfCore/Ray.Repository.EfCore.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Repository.EfCore/Ray.Repository.EfCore.csproj -------------------------------------------------------------------------------- /src/Ray.Repository.EfCore/RayDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Repository.EfCore/RayDbContext.cs -------------------------------------------------------------------------------- /src/Ray.Repository.EfCore/RayEfCoreRepositoryModule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Repository.EfCore/RayEfCoreRepositoryModule.cs -------------------------------------------------------------------------------- /src/Ray.Repository.EfCore/Repositories/EfRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Repository.EfCore/Repositories/EfRepository.cs -------------------------------------------------------------------------------- /src/Ray.Repository.EfCore/Repositories/IEfRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Repository.EfCore/Repositories/IEfRepository.cs -------------------------------------------------------------------------------- /src/Ray.Security/Claims/ICurrentPrincipalAccessor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Security/Claims/ICurrentPrincipalAccessor.cs -------------------------------------------------------------------------------- /src/Ray.Security/Claims/RayClaimTypes.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Security/Claims/RayClaimTypes.cs -------------------------------------------------------------------------------- /src/Ray.Security/Claims/ThreadCurrentPrincipalAccessor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Security/Claims/ThreadCurrentPrincipalAccessor.cs -------------------------------------------------------------------------------- /src/Ray.Security/Principal/RayClaimsIdentityExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Security/Principal/RayClaimsIdentityExtension.cs -------------------------------------------------------------------------------- /src/Ray.Security/Ray.Security.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Security/Ray.Security.csproj -------------------------------------------------------------------------------- /src/Ray.Security/RaySecurityModule.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Security/RaySecurityModule.cs -------------------------------------------------------------------------------- /src/Ray.Security/User/CurrentUser.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Security/User/CurrentUser.cs -------------------------------------------------------------------------------- /src/Ray.Security/User/CurrentUserExtension.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Security/User/CurrentUserExtension.cs -------------------------------------------------------------------------------- /src/Ray.Security/User/ICurrentUser.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RayWangQvQ/RayPI/HEAD/src/Ray.Security/User/ICurrentUser.cs --------------------------------------------------------------------------------