This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[JsonConverter(typeof(TextJsonConverter))] | |
[TypeConverter(typeof(TextTypeConverter))] | |
public sealed class Text : IEquatable<Text>, IEquatable<string>, IComparable<Text>, IComparable<string> | |
{ | |
readonly string _value; | |
Text(string value) => | |
_value = value; | |
public override string ToString() => |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[JsonConverter(typeof(IdJsonConverter))] | |
[TypeConverter(typeof(IdTypeConverter))] | |
public sealed class Id : IEquatable<Id>, IEquatable<Guid>, IComparable<Id>, IComparable<Guid> | |
{ | |
readonly Guid _value; | |
Id(Guid value) => | |
_value = value; | |
public override string ToString() => |
OlderNewer