public IMensuraUnit
All checks were successful
Publish NuGet packages / publish (push) Successful in 51s
All checks were successful
Publish NuGet packages / publish (push) Successful in 51s
This commit is contained in:
@@ -144,7 +144,7 @@ using System.Runtime.Serialization;
|
||||
namespace QWERTYkez.Mensura.Units;
|
||||
|
||||
[JsonConverter(typeof(UnitJsonConverter<{typeName}>))]
|
||||
public readonly partial record struct {typeName} : IMensuraUnit<{typeName}>, IEquatable<{typeName}>, IMensuraUnit
|
||||
public readonly partial record struct {typeName} : IEquatable<{typeName}>, IMensuraUnit
|
||||
{
|
||||
[JsonInclude, DataMember, JsonPropertyName(""v""), Obsolete] // для JSON / EF на случай сбоев, если пробелма с _Value
|
||||
internal double Value { get => _Value; init => _Value = value; }
|
||||
|
||||
Reference in New Issue
Block a user