Skip to content

Commit 54e753f

Browse files
committed
Docs changes
1 parent f58790b commit 54e753f

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

docs/serializer-settings.md

+25-25
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ public Task ScopedSerializerFluent()
571571
.AddExtraSettings(_ => _.TypeNameHandling = TypeNameHandling.All);
572572
}
573573
```
574-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L3248-L3275' title='Snippet source file'>snippet source</a> | <a href='#snippet-scopedserializer' title='Start of snippet'>anchor</a></sup>
574+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L3250-L3277' title='Snippet source file'>snippet source</a> | <a href='#snippet-scopedserializer' title='Start of snippet'>anchor</a></sup>
575575
<!-- endSnippet -->
576576

577577
Result:
@@ -699,7 +699,7 @@ public Task IgnoreTypeFluent()
699699
.IgnoreMembersWithType<ToIgnoreStruct>();
700700
}
701701
```
702-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2265-L2370' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoretype' title='Start of snippet'>anchor</a></sup>
702+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2267-L2372' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoretype' title='Start of snippet'>anchor</a></sup>
703703
<!-- endSnippet -->
704704

705705
Or globally:
@@ -709,7 +709,7 @@ Or globally:
709709
```cs
710710
VerifierSettings.IgnoreMembersWithType<ToIgnore>();
711711
```
712-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2252-L2256' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoretypeglobal' title='Start of snippet'>anchor</a></sup>
712+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2254-L2258' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoretypeglobal' title='Start of snippet'>anchor</a></sup>
713713
<!-- endSnippet -->
714714

715715
Result:
@@ -846,7 +846,7 @@ public Task ScrubTypeFluent()
846846
.ScrubMembersWithType<ToIgnoreStruct>();
847847
}
848848
```
849-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2373-L2478' title='Snippet source file'>snippet source</a> | <a href='#snippet-addscrubtype' title='Start of snippet'>anchor</a></sup>
849+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2375-L2480' title='Snippet source file'>snippet source</a> | <a href='#snippet-addscrubtype' title='Start of snippet'>anchor</a></sup>
850850
<!-- endSnippet -->
851851

852852
Or globally:
@@ -856,7 +856,7 @@ Or globally:
856856
```cs
857857
VerifierSettings.ScrubMembersWithType<ToIgnore>();
858858
```
859-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2258-L2262' title='Snippet source file'>snippet source</a> | <a href='#snippet-addscrubtypeglobal' title='Start of snippet'>anchor</a></sup>
859+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2260-L2264' title='Snippet source file'>snippet source</a> | <a href='#snippet-addscrubtypeglobal' title='Start of snippet'>anchor</a></sup>
860860
<!-- endSnippet -->
861861

862862
Result:
@@ -935,7 +935,7 @@ public Task AddIgnoreInstanceFluent()
935935
.IgnoreInstance<Instance>(_ => _.Property == "Ignore");
936936
}
937937
```
938-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2138-L2177' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoreinstance' title='Start of snippet'>anchor</a></sup>
938+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2140-L2179' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoreinstance' title='Start of snippet'>anchor</a></sup>
939939
<!-- endSnippet -->
940940

941941
Or globally:
@@ -945,7 +945,7 @@ Or globally:
945945
```cs
946946
VerifierSettings.IgnoreInstance<Instance>(_ => _.Property == "Ignore");
947947
```
948-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2125-L2129' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoreinstanceglobal' title='Start of snippet'>anchor</a></sup>
948+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2127-L2131' title='Snippet source file'>snippet source</a> | <a href='#snippet-addignoreinstanceglobal' title='Start of snippet'>anchor</a></sup>
949949
<!-- endSnippet -->
950950

951951
Result:
@@ -1007,7 +1007,7 @@ public Task AddScrubInstanceFluent()
10071007
.ScrubInstance<Instance>(_ => _.Property == "Ignore");
10081008
}
10091009
```
1010-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2179-L2218' title='Snippet source file'>snippet source</a> | <a href='#snippet-addscrubinstance' title='Start of snippet'>anchor</a></sup>
1010+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2181-L2220' title='Snippet source file'>snippet source</a> | <a href='#snippet-addscrubinstance' title='Start of snippet'>anchor</a></sup>
10111011
<!-- endSnippet -->
10121012

10131013
Or globally:
@@ -1017,7 +1017,7 @@ Or globally:
10171017
```cs
10181018
VerifierSettings.ScrubInstance<Instance>(_ => _.Property == "Ignore");
10191019
```
1020-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2131-L2135' title='Snippet source file'>snippet source</a> | <a href='#snippet-addscrubinstanceglobal' title='Start of snippet'>anchor</a></sup>
1020+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2133-L2137' title='Snippet source file'>snippet source</a> | <a href='#snippet-addscrubinstanceglobal' title='Start of snippet'>anchor</a></sup>
10211021
<!-- endSnippet -->
10221022

10231023
Result:
@@ -1062,7 +1062,7 @@ public Task WithObsoleteProp()
10621062
return Verify(target);
10631063
}
10641064
```
1065-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L3213-L3234' title='Snippet source file'>snippet source</a> | <a href='#snippet-withobsoleteprop' title='Start of snippet'>anchor</a></sup>
1065+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L3215-L3236' title='Snippet source file'>snippet source</a> | <a href='#snippet-withobsoleteprop' title='Start of snippet'>anchor</a></sup>
10661066
<!-- endSnippet -->
10671067

10681068
Result:
@@ -1110,7 +1110,7 @@ public Task WithObsoletePropIncludedFluent()
11101110
.IncludeObsoletes();
11111111
}
11121112
```
1113-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L3184-L3211' title='Snippet source file'>snippet source</a> | <a href='#snippet-withobsoletepropincluded' title='Start of snippet'>anchor</a></sup>
1113+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L3186-L3213' title='Snippet source file'>snippet source</a> | <a href='#snippet-withobsoletepropincluded' title='Start of snippet'>anchor</a></sup>
11141114
<!-- endSnippet -->
11151115

11161116
Or globally:
@@ -1120,7 +1120,7 @@ Or globally:
11201120
```cs
11211121
VerifierSettings.IncludeObsoletes();
11221122
```
1123-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L3177-L3181' title='Snippet source file'>snippet source</a> | <a href='#snippet-withobsoletepropincludedglobally' title='Start of snippet'>anchor</a></sup>
1123+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L3179-L3183' title='Snippet source file'>snippet source</a> | <a href='#snippet-withobsoletepropincludedglobally' title='Start of snippet'>anchor</a></sup>
11241124
<!-- endSnippet -->
11251125

11261126
Result:
@@ -1181,7 +1181,7 @@ public Task IgnoreMemberByExpressionFluent()
11811181
_ => _.PropertyThatThrows);
11821182
}
11831183
```
1184-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2691-L2730' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbyexpression' title='Start of snippet'>anchor</a></sup>
1184+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2693-L2732' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbyexpression' title='Start of snippet'>anchor</a></sup>
11851185
<!-- endSnippet -->
11861186

11871187
Or globally
@@ -1196,7 +1196,7 @@ VerifierSettings.IgnoreMembers<IgnoreExplicitTarget>(
11961196
_ => _.GetOnlyProperty,
11971197
_ => _.PropertyThatThrows);
11981198
```
1199-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2668-L2677' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbyexpressionglobal' title='Start of snippet'>anchor</a></sup>
1199+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2670-L2679' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbyexpressionglobal' title='Start of snippet'>anchor</a></sup>
12001200
<!-- endSnippet -->
12011201

12021202
Result:
@@ -1256,7 +1256,7 @@ public Task ScrubMemberByExpressionFluent()
12561256
_ => _.PropertyThatThrows);
12571257
}
12581258
```
1259-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2732-L2771' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubmemberbyexpression' title='Start of snippet'>anchor</a></sup>
1259+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2734-L2773' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubmemberbyexpression' title='Start of snippet'>anchor</a></sup>
12601260
<!-- endSnippet -->
12611261

12621262
Or globally
@@ -1271,7 +1271,7 @@ VerifierSettings.ScrubMembers<IgnoreExplicitTarget>(
12711271
_ => _.GetOnlyProperty,
12721272
_ => _.PropertyThatThrows);
12731273
```
1274-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2679-L2688' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubmemberbyexpressionglobal' title='Start of snippet'>anchor</a></sup>
1274+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2681-L2690' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubmemberbyexpressionglobal' title='Start of snippet'>anchor</a></sup>
12751275
<!-- endSnippet -->
12761276

12771277
Result:
@@ -1350,7 +1350,7 @@ public Task IgnoreMemberByNameFluent()
13501350
.IgnoreMember<IgnoreExplicitTarget>(_ => _.PropertyThatThrows);
13511351
}
13521352
```
1353-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2845-L2898' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbyname' title='Start of snippet'>anchor</a></sup>
1353+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2847-L2900' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbyname' title='Start of snippet'>anchor</a></sup>
13541354
<!-- endSnippet -->
13551355

13561356
Or globally:
@@ -1370,7 +1370,7 @@ VerifierSettings.IgnoreMember<IgnoreExplicitTarget>("Field");
13701370
// For a specific type with expression
13711371
VerifierSettings.IgnoreMember<IgnoreExplicitTarget>(_ => _.PropertyThatThrows);
13721372
```
1373-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2812-L2826' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbynameglobal' title='Start of snippet'>anchor</a></sup>
1373+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2814-L2828' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignorememberbynameglobal' title='Start of snippet'>anchor</a></sup>
13741374
<!-- endSnippet -->
13751375

13761376
Result:
@@ -1445,7 +1445,7 @@ public Task ScrubMemberByNameFluent()
14451445
.ScrubMember<IgnoreExplicitTarget>(_ => _.PropertyThatThrows);
14461446
}
14471447
```
1448-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2900-L2953' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubmemberbyname' title='Start of snippet'>anchor</a></sup>
1448+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2902-L2955' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubmemberbyname' title='Start of snippet'>anchor</a></sup>
14491449
<!-- endSnippet -->
14501450

14511451
Or globally:
@@ -1465,7 +1465,7 @@ VerifierSettings.ScrubMember<IgnoreExplicitTarget>("Field");
14651465
// For a specific type with expression
14661466
VerifierSettings.ScrubMember<IgnoreExplicitTarget>(_ => _.PropertyThatThrows);
14671467
```
1468-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2828-L2842' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubmemberbynameglobal' title='Start of snippet'>anchor</a></sup>
1468+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2830-L2844' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubmemberbynameglobal' title='Start of snippet'>anchor</a></sup>
14691469
<!-- endSnippet -->
14701470

14711471
Result:
@@ -1516,7 +1516,7 @@ public Task CustomExceptionPropFluent()
15161516
.IgnoreMembersThatThrow<CustomException>();
15171517
}
15181518
```
1519-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L3063-L3082' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrow' title='Start of snippet'>anchor</a></sup>
1519+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L3065-L3084' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrow' title='Start of snippet'>anchor</a></sup>
15201520
<!-- endSnippet -->
15211521

15221522
Or globally:
@@ -1526,7 +1526,7 @@ Or globally:
15261526
```cs
15271527
VerifierSettings.IgnoreMembersThatThrow<CustomException>();
15281528
```
1529-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L3056-L3060' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrowglobal' title='Start of snippet'>anchor</a></sup>
1529+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L3058-L3062' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrowglobal' title='Start of snippet'>anchor</a></sup>
15301530
<!-- endSnippet -->
15311531

15321532
Result:
@@ -1563,7 +1563,7 @@ public Task ExceptionMessagePropFluent()
15631563
.IgnoreMembersThatThrow<Exception>(_ => _.Message == "Ignore");
15641564
}
15651565
```
1566-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1910-L1931' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrowexpression' title='Start of snippet'>anchor</a></sup>
1566+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1912-L1933' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrowexpression' title='Start of snippet'>anchor</a></sup>
15671567
<!-- endSnippet -->
15681568

15691569
Or globally:
@@ -1573,7 +1573,7 @@ Or globally:
15731573
```cs
15741574
VerifierSettings.IgnoreMembersThatThrow<Exception>(_ => _.Message == "Ignore");
15751575
```
1576-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1903-L1907' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrowexpressionglobal' title='Start of snippet'>anchor</a></sup>
1576+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1905-L1909' title='Snippet source file'>snippet source</a> | <a href='#snippet-ignoremembersthatthrowexpressionglobal' title='Start of snippet'>anchor</a></sup>
15771577
<!-- endSnippet -->
15781578

15791579
Result:
@@ -1697,7 +1697,7 @@ public Task MemberConverterByExpression()
16971697
return Verify(input);
16981698
}
16991699
```
1700-
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2773-L2801' title='Snippet source file'>snippet source</a> | <a href='#snippet-memberconverter' title='Start of snippet'>anchor</a></sup>
1700+
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L2775-L2803' title='Snippet source file'>snippet source</a> | <a href='#snippet-memberconverter' title='Start of snippet'>anchor</a></sup>
17011701
<!-- endSnippet -->
17021702

17031703

0 commit comments

Comments
 (0)