You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <summary>Provides extension methods for parsing JSON.</summary>
7
7
publicstaticclassJsonExtensions
8
8
{
9
-
/// <summary>Get a JSON field value from a case-insensitive field name. This will check for an exact match first, then search without case sensitivity.</summary>
10
-
/// <typeparam name="T">The value type.</typeparam>
11
9
/// <param name="obj">The JSON object to search.</param>
12
-
/// <param name="fieldName">The field name.</param>
/// <summary>Get a JSON field value from a case-insensitive field name. This will check for an exact match first, then search without case sensitivity.</summary>
13
+
/// <typeparam name="T">The value type.</typeparam>
14
+
/// <param name="fieldName">The field name.</param>
Copy file name to clipboardExpand all lines: src/SMAPI.Web/Framework/Extensions.cs
+43-38Lines changed: 43 additions & 38 deletions
Original file line number
Diff line number
Diff line change
@@ -19,54 +19,59 @@ public static class Extensions
19
19
/****
20
20
** View helpers
21
21
****/
22
-
/// <summary>Get a URL for an action method. Unlike <see cref="IUrlHelper.Action"/>, only the specified <paramref name="values"/> are added to the URL without merging values from the current HTTP request.</summary>
23
22
/// <param name="helper">The URL helper to extend.</param>
24
-
/// <param name="action">The name of the action method.</param>
25
-
/// <param name="controller">The name of the controller.</param>
26
-
/// <param name="values">An object that contains route values.</param>
27
-
/// <param name="absoluteUrl">Get an absolute URL instead of a server-relative path/</param>
valuesDict.TryAdd(value.Key,null);// explicitly remove it from the URL
25
+
/// <summary>Get a URL for an action method. Unlike <see cref="IUrlHelper.Action"/>, only the specified <paramref name="values"/> are added to the URL without merging values from the current HTTP request.</summary>
26
+
/// <param name="action">The name of the action method.</param>
27
+
/// <param name="controller">The name of the controller.</param>
28
+
/// <param name="values">An object that contains route values.</param>
29
+
/// <param name="absoluteUrl">Get an absolute URL instead of a server-relative path/</param>
/// <summary>Convert a virtual (relative, starting with ~/) path to an application absolute path, and append a query argument to force browsers to re-download the asset if needed.</summary>
53
-
/// <param name="helper">The URL helper to extend.</param>
54
-
/// <param name="url">The virtual path of the content.</param>
/// <summary>Convert a virtual (relative, starting with ~/) path to an application absolute path, and append a query argument to force browsers to re-download the asset if needed.</summary>
55
+
/// <param name="url">The virtual path of the content.</param>
0 commit comments