Skip to content

Commit

Permalink
rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
dombrovsky committed Jun 15, 2024
1 parent 33db60f commit 91cd4eb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</PropertyGroup>

<PropertyGroup>
<Version>1.0.0-rc1</Version>
<Version>1.0.0-rc2</Version>
<Authors>Volodymyr Dombrovskyi</Authors>
<Copyright>Copyright (c) 2024 Volodymyr Dombrovskyi</Copyright>
<RepositoryUrl>https://github.com/dombrovsky/StrongTypeIdGenerator.git</RepositoryUrl>
Expand Down
2 changes: 2 additions & 0 deletions StrongTypeIdGenerator/GuidIdGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ static string GenerateStrongTypeIdClass(string? namespaceName, string className)
sourceBuilder.AppendLine("{");
}

sourceBuilder.AppendLine(" using System;");
sourceBuilder.AppendLine(" using StrongTypeIdGenerator;");
sourceBuilder.AppendLine();
sourceBuilder.AppendLine($" [System.ComponentModel.TypeConverter(typeof({className}Converter))]");
sourceBuilder.AppendLine($" partial class {className} : ITypedIdentifier<{className}, {TIdentifier}>");
Expand Down
2 changes: 2 additions & 0 deletions StrongTypeIdGenerator/StringIdGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ static string GenerateStrongTypeIdClass(string? namespaceName, string className,
sourceBuilder.AppendLine("{");
}

sourceBuilder.AppendLine(" using System;");
sourceBuilder.AppendLine(" using StrongTypeIdGenerator;");
sourceBuilder.AppendLine();
sourceBuilder.AppendLine($" [System.ComponentModel.TypeConverter(typeof({className}Converter))]");
sourceBuilder.AppendLine($" partial class {className} : ITypedIdentifier<{className}, {TIdentifier}>");
Expand Down

0 comments on commit 91cd4eb

Please sign in to comment.