Skip to content

Commit a7fb864

Browse files
committed
add ctor overload
1 parent 14107f5 commit a7fb864

File tree

1 file changed

+20
-0
lines changed
  • src/Smdn.Fundamental.Uuid/Smdn

1 file changed

+20
-0
lines changed

src/Smdn.Fundamental.Uuid/Smdn/Uuid.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,26 @@ byte[] node
200200
{
201201
}
202202

203+
[CLSCompliant(false)]
204+
public Uuid(
205+
uint time_low,
206+
ushort time_mid,
207+
ushort time_hi_and_version,
208+
byte clock_seq_hi_and_reserved,
209+
byte clock_seq_low,
210+
ReadOnlySpan<byte> node
211+
)
212+
: this(
213+
time_low,
214+
time_mid,
215+
time_hi_and_version,
216+
clock_seq_hi_and_reserved,
217+
clock_seq_low,
218+
new Node(node)
219+
)
220+
{
221+
}
222+
203223
[CLSCompliant(false)]
204224
public Uuid(
205225
uint time_low,

0 commit comments

Comments
 (0)