@@ -73,14 +73,14 @@ public bool TryPickExtraction([NotNullWhen(true)] out Extraction? value)
7373 ///
7474 /// <example>
7575 /// <code>
76- /// if (instance.TryPickJsonElements (out var value)) {
76+ /// if (instance.TryPickCustom (out var value)) {
7777 /// // `value` is of type `IReadOnlyDictionary<string, JsonElement>`
7878 /// Console.WriteLine(value);
7979 /// }
8080 /// </code>
8181 /// </example>
8282 /// </summary>
83- public bool TryPickJsonElements (
83+ public bool TryPickCustom (
8484 [ NotNullWhen ( true ) ] out IReadOnlyDictionary < string , JsonElement > ? value
8585 )
8686 {
@@ -110,7 +110,7 @@ public bool TryPickJsonElements(
110110 /// </summary>
111111 public void Switch (
112112 System ::Action < Extraction > extraction ,
113- System ::Action < IReadOnlyDictionary < string , JsonElement > > jsonElements
113+ System ::Action < IReadOnlyDictionary < string , JsonElement > > custom
114114 )
115115 {
116116 switch ( this . Value )
@@ -119,7 +119,7 @@ public void Switch(
119119 extraction ( value ) ;
120120 break ;
121121 case Dictionary < string , JsonElement > value :
122- jsonElements ( value ) ;
122+ custom ( value ) ;
123123 break ;
124124 default :
125125 throw new StagehandInvalidDataException (
@@ -151,13 +151,13 @@ public void Switch(
151151 /// </summary>
152152 public T Match < T > (
153153 System ::Func < Extraction , T > extraction ,
154- System ::Func < IReadOnlyDictionary < string , JsonElement > , T > jsonElements
154+ System ::Func < IReadOnlyDictionary < string , JsonElement > , T > custom
155155 )
156156 {
157157 return this . Value switch
158158 {
159159 Extraction value => extraction ( value ) ,
160- IReadOnlyDictionary < string , JsonElement > value => jsonElements ( value ) ,
160+ IReadOnlyDictionary < string , JsonElement > value => custom ( value ) ,
161161 _ => throw new StagehandInvalidDataException (
162162 "Data did not match any variant of SessionExtractResponse"
163163 ) ,
0 commit comments