Skip to content

Commit

Permalink
🔖 1.23.10613.11501
Browse files Browse the repository at this point in the history
  • Loading branch information
AigioL committed Jun 13, 2023
1 parent c239958 commit 4820a51
Show file tree
Hide file tree
Showing 21 changed files with 1,281 additions and 41 deletions.
2 changes: 1 addition & 1 deletion ref/DirectoryPackages
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageTags>BeyondDimension Common CommonRepositories Repositories SourceGenerator Annotations</PackageTags>
<Description>$(Product)</Description>
<ImplicitUsings>enable</ImplicitUsings>
Expand All @@ -13,6 +12,7 @@
<Compile Remove="..\ImplicitUsings.Common.cs"></Compile>
</ItemGroup>

<Import Project="..\TFM_NETX.props" />
<Import Project="..\GeneratePackage.props" />

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ public sealed class GenerateRepositoriesAttribute : Attribute
/// </summary>
public bool NEWSEQUENTIALID { get; set; } = true;


[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void SetValue(string key, object? value)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ public enum PreprocessorDirective
{
#region 定义区域

/** https://learn.microsoft.com/zh-cn/dotnet/csharp/language-reference/preprocessor-directives#defining-regions
* 利用 #region,可以指定在使用代码编辑器的大纲功能时可展开或折叠的代码块。
* 在较长的代码文件中,折叠或隐藏一个或多个区域十分便利,这样,可将精力集中于当前处理的文件部分。
*/
// https://learn.microsoft.com/zh-cn/dotnet/csharp/language-reference/preprocessor-directives#defining-regions
// 利用 #region,可以指定在使用代码编辑器的大纲功能时可展开或折叠的代码块。
// 在较长的代码文件中,折叠或隐藏一个或多个区域十分便利,这样,可将精力集中于当前处理的文件部分。

/// <summary>
/// 启动区域
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
<OutputType>Exe</OutputType>
</PropertyGroup>

<ItemGroup>
<!--<Compile Remove="OutputPath\**" />-->
</ItemGroup>

<ItemGroup>
<Compile Include="..\ImplicitUsings.JsonProperty.cs">
<LinkBase>Properties</LinkBase>
Expand Down Expand Up @@ -49,6 +53,8 @@
<PackageReference Include="AutoMapper" />
<PackageReference Include="System.Text.Json" />
<PackageReference Include="Humanizer.Core.zh-CN" />
<!--<PackageReference Include="BD.Common.Repositories.SourceGenerator.Annotations" />
<PackageReference Include="BD.Common.Repositories.SourceGenerator" />-->
</ItemGroup>

<Import Project="..\TFM_NETX_WINDOWS.props" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@ public BaseAuthorizeController(ILogger<T> logger) : base(logger)
{

}

public bool TryGetUserId(out Guid userId)
{
userId = default;
return false;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace BD.Common.Repositories.SourceGenerator.ConsoleTest.Entities;

partial class Example
{
}
Loading

0 comments on commit 4820a51

Please sign in to comment.