Skip to content

Commit

Permalink
Sealed classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jscarle committed Nov 7, 2024
1 parent 2795a0c commit dc0a633
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ namespace {symbolNamespace};
source.AppendLine($$"""
[TypeConverter(typeof({{symbolName}}TypeConverter))]
[JsonConverter(typeof({{symbolName}}JsonConverter))]
{{(isStruct ? "readonly " : "")}}partial {{(isStruct ? "struct" : "class")}} {{symbolName}} :
{{(isStruct ? "readonly" : "sealed")}} partial {{(isStruct ? "struct" : "class")}} {{symbolName}} :
ICreatableValueObject<{{declaredValueType}}, {{symbolName}}>,
"""
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<!-- Output -->
<PropertyGroup>
<AssemblyName>LightResults.Extensions.GeneratedIdentifier</AssemblyName>
<Version>9.0.0-preview.6</Version>
<Version>9.0.0-preview.7</Version>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<FileVersion>9.0.0.0</FileVersion>
<NeutralLanguage>en-US</NeutralLanguage>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace MyProject.Identifiers;

[TypeConverter(typeof(TestStringIdTypeConverter))]
[JsonConverter(typeof(TestStringIdJsonConverter))]
partial class TestStringId :
sealed partial class TestStringId :
ICreatableValueObject<string, TestStringId>,
IValueObject<string, TestStringId>,
IComparable<TestStringId>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ using LightResults.Extensions.ValueObjects;

[TypeConverter(typeof(TestStringIdTypeConverter))]
[JsonConverter(typeof(TestStringIdJsonConverter))]
partial class TestStringId :
sealed partial class TestStringId :
ICreatableValueObject<string, TestStringId>,
IValueObject<string, TestStringId>,
IComparable<TestStringId>,
Expand Down

0 comments on commit dc0a633

Please sign in to comment.