File tree Expand file tree Collapse file tree 7 files changed +35
-35
lines changed
Expand file tree Collapse file tree 7 files changed +35
-35
lines changed Original file line number Diff line number Diff line change @@ -41,15 +41,15 @@ public sealed class AtIdentifierConverter : JsonConverter<AtIdentifier>
4141 /// Writes the specified <see cref="AtIdentifier"></see> as JSON.
4242 /// </summary>
4343 /// <param name="writer">The writer to write to.</param>
44- /// <param name="atIdentifier ">The <see cref="Cid"/> to convert to JSON.</param>
44+ /// <param name="value ">The <see cref="Cid"/> to convert to JSON.</param>
4545 /// <param name="options">An object that specifies serialization options to use.</param>
46- /// <exception cref="ArgumentNullException">Throws when <paramref name="writer"/> or <paramref name="atIdentifier "/> is null.</exception>
47- public override void Write ( Utf8JsonWriter writer , AtIdentifier atIdentifier , JsonSerializerOptions options )
46+ /// <exception cref="ArgumentNullException">Throws when <paramref name="writer"/> or <paramref name="value "/> is null.</exception>
47+ public override void Write ( Utf8JsonWriter writer , AtIdentifier value , JsonSerializerOptions options )
4848 {
4949 ArgumentNullException . ThrowIfNull ( writer ) ;
50- ArgumentNullException . ThrowIfNull ( atIdentifier ) ;
50+ ArgumentNullException . ThrowIfNull ( value ) ;
5151
52- writer . WriteStringValue ( atIdentifier . ToString ( ) ) ;
52+ writer . WriteStringValue ( value . ToString ( ) ) ;
5353 }
5454 }
5555}
Original file line number Diff line number Diff line change @@ -52,15 +52,15 @@ public sealed class AtUriConverter : JsonConverter<AtUri>
5252 /// Writes the specified <see cref="AtUri"></see> as JSON.
5353 /// </summary>
5454 /// <param name="writer">The writer to write to.</param>
55- /// <param name="atUri ">The <see cref="Did"/> to convert to JSON.</param>
55+ /// <param name="value ">The <see cref="Did"/> to convert to JSON.</param>
5656 /// <param name="options">An object that specifies serialization options to use.</param>
57- /// <exception cref="ArgumentNullException">Throws when <paramref name="writer"/> or <paramref name="atUri "/> is null.</exception>
58- public override void Write ( Utf8JsonWriter writer , AtUri atUri , JsonSerializerOptions options )
57+ /// <exception cref="ArgumentNullException">Throws when <paramref name="writer"/> or <paramref name="value "/> is null.</exception>
58+ public override void Write ( Utf8JsonWriter writer , AtUri value , JsonSerializerOptions options )
5959 {
6060 ArgumentNullException . ThrowIfNull ( writer ) ;
61- ArgumentNullException . ThrowIfNull ( atUri ) ;
61+ ArgumentNullException . ThrowIfNull ( value ) ;
6262
63- writer . WriteStringValue ( atUri . ToString ( ) ) ;
63+ writer . WriteStringValue ( value . ToString ( ) ) ;
6464 }
6565 }
6666}
Original file line number Diff line number Diff line change @@ -44,15 +44,15 @@ public sealed class CidConverter : JsonConverter<Cid>
4444 /// Writes the specified <see cref="Cid"></see> as JSON.
4545 /// </summary>
4646 /// <param name="writer">The writer to write to.</param>
47- /// <param name="cid ">The <see cref="Cid"/> to convert to JSON.</param>
47+ /// <param name="value ">The <see cref="Cid"/> to convert to JSON.</param>
4848 /// <param name="options">An object that specifies serialization options to use.</param>
49- /// <exception cref="ArgumentNullException">Throws when <paramref name="writer"/> or <paramref name="cid "/> is null.</exception>
50- public override void Write ( Utf8JsonWriter writer , Cid cid , JsonSerializerOptions options )
49+ /// <exception cref="ArgumentNullException">Throws when <paramref name="writer"/> or <paramref name="value "/> is null.</exception>
50+ public override void Write ( Utf8JsonWriter writer , Cid value , JsonSerializerOptions options )
5151 {
5252 ArgumentNullException . ThrowIfNull ( writer ) ;
53- ArgumentNullException . ThrowIfNull ( cid ) ;
53+ ArgumentNullException . ThrowIfNull ( value ) ;
5454
55- writer . WriteStringValue ( cid . Value ) ;
55+ writer . WriteStringValue ( value . Value ) ;
5656 }
5757 }
5858}
Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ public sealed class DidConverter : JsonConverter<Did>
4848 /// Writes the specified <see cref="Did"></see> as JSON.
4949 /// </summary>
5050 /// <param name="writer">The writer to write to.</param>
51- /// <param name="did ">The <see cref="Did"/> to convert to JSON.</param>
51+ /// <param name="value ">The <see cref="Did"/> to convert to JSON.</param>
5252 /// <param name="options">An object that specifies serialization options to use.</param>
53- /// <exception cref="ArgumentNullException">Throws when <paramref name="writer"/> or <paramref name="did "/> is null.</exception>
54- public override void Write ( Utf8JsonWriter writer , Did did , JsonSerializerOptions options )
53+ /// <exception cref="ArgumentNullException">Throws when <paramref name="writer"/> or <paramref name="value "/> is null.</exception>
54+ public override void Write ( Utf8JsonWriter writer , Did value , JsonSerializerOptions options )
5555 {
5656 ArgumentNullException . ThrowIfNull ( writer ) ;
57- ArgumentNullException . ThrowIfNull ( did ) ;
57+ ArgumentNullException . ThrowIfNull ( value ) ;
5858
59- writer . WriteStringValue ( did . Value ) ;
59+ writer . WriteStringValue ( value . Value ) ;
6060 }
6161 }
6262}
Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ public sealed class HandleConverter : JsonConverter<Handle>
4848 /// Writes the specified <see cref="Handle"/> as JSON.
4949 /// </summary>
5050 /// <param name="writer">The writer to write to.</param>
51- /// <param name="handle ">The <see cref="Handle"/> to convert to JSON.</param>
51+ /// <param name="value ">The <see cref="Handle"/> to convert to JSON.</param>
5252 /// <param name="options">An object that specifies serialization options to use.</param>
53- /// <exception cref="ArgumentNullException">Throws when <paramref name="writer"/> or <paramref name="handle "/> is null.</exception>
54- public override void Write ( Utf8JsonWriter writer , Handle handle , JsonSerializerOptions options )
53+ /// <exception cref="ArgumentNullException">Throws when <paramref name="writer"/> or <paramref name="value "/> is null.</exception>
54+ public override void Write ( Utf8JsonWriter writer , Handle value , JsonSerializerOptions options )
5555 {
5656 ArgumentNullException . ThrowIfNull ( writer ) ;
57- ArgumentNullException . ThrowIfNull ( handle ) ;
57+ ArgumentNullException . ThrowIfNull ( value ) ;
5858
59- writer . WriteStringValue ( handle . Value ) ;
59+ writer . WriteStringValue ( value . Value ) ;
6060 }
6161 }
6262}
Original file line number Diff line number Diff line change @@ -52,15 +52,15 @@ public sealed class NsidConverter : JsonConverter<Nsid>
5252 /// Writes the specified <see cref="RecordKey" /> as JSON.
5353 /// </summary>
5454 /// <param name="writer">The writer to write to.</param>
55- /// <param name="nsid ">The <see cref="Cid"/> to convert to JSON.</param>
55+ /// <param name="value ">The <see cref="Cid"/> to convert to JSON.</param>
5656 /// <param name="options">An object that specifies serialization options to use.</param>
57- /// <exception cref="ArgumentNullException">Throws when <paramref name="writer"/> or <paramref name="nsid "/> is null.</exception>
58- public override void Write ( Utf8JsonWriter writer , Nsid nsid , JsonSerializerOptions options )
57+ /// <exception cref="ArgumentNullException">Throws when <paramref name="writer"/> or <paramref name="value "/> is null.</exception>
58+ public override void Write ( Utf8JsonWriter writer , Nsid value , JsonSerializerOptions options )
5959 {
6060 ArgumentNullException . ThrowIfNull ( writer ) ;
61- ArgumentNullException . ThrowIfNull ( nsid ) ;
61+ ArgumentNullException . ThrowIfNull ( value ) ;
6262
63- writer . WriteStringValue ( nsid . ToString ( ) ) ;
63+ writer . WriteStringValue ( value . ToString ( ) ) ;
6464 }
6565 }
6666}
Original file line number Diff line number Diff line change @@ -52,15 +52,15 @@ public sealed class RecordKeyConverter : JsonConverter<RecordKey>
5252 /// Writes the specified <see cref="RecordKey" /> as JSON.
5353 /// </summary>
5454 /// <param name="writer">The writer to write to.</param>
55- /// <param name="recordKey ">The <see cref="Cid"/> to convert to JSON.</param>
55+ /// <param name="value ">The <see cref="Cid"/> to convert to JSON.</param>
5656 /// <param name="options">An object that specifies serialization options to use.</param>
57- /// <exception cref="ArgumentNullException">Throws when <paramref name="writer"/> or <paramref name="recordKey "/> is null.</exception>
58- public override void Write ( Utf8JsonWriter writer , RecordKey recordKey , JsonSerializerOptions options )
57+ /// <exception cref="ArgumentNullException">Throws when <paramref name="writer"/> or <paramref name="value "/> is null.</exception>
58+ public override void Write ( Utf8JsonWriter writer , RecordKey value , JsonSerializerOptions options )
5959 {
6060 ArgumentNullException . ThrowIfNull ( writer ) ;
61- ArgumentNullException . ThrowIfNull ( recordKey ) ;
61+ ArgumentNullException . ThrowIfNull ( value ) ;
6262
63- writer . WriteStringValue ( recordKey . ToString ( ) ) ;
63+ writer . WriteStringValue ( value . ToString ( ) ) ;
6464 }
6565 }
6666}
You can’t perform that action at this time.
0 commit comments