File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/MyCSharp.HttpUserAgentParser Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,24 +8,24 @@ namespace MyCSharp.HttpUserAgentParser
8
8
public static class HttpUserAgentInformationExtensions
9
9
{
10
10
/// <summary>
11
- /// returns true <typeparam name="userAgent.Type"></typeparam > is of <param name="type">type</param >
11
+ /// Tests if <paramref name="userAgent"/ > is of <paramref name="type" / >
12
12
/// </summary>
13
13
public static bool IsType ( this in HttpUserAgentInformation userAgent , HttpUserAgentType type ) => userAgent . Type == type ;
14
14
15
15
/// <summary>
16
- /// returns true <see cref="HttpUserAgentInformation.Type "/> is a robot
16
+ /// Tests if <paramref name="userAgent "/> is of type <see cref="HttpUserAgentType.Robot"/>
17
17
/// </summary>
18
18
public static bool IsRobot ( this in HttpUserAgentInformation userAgent ) => IsType ( userAgent , HttpUserAgentType . Robot ) ;
19
19
20
20
/// <summary>
21
- /// returns true <see cref="HttpUserAgentInformation.Type "/> is a browser
21
+ /// Tests if <paramref name="userAgent "/> is of type <see cref="HttpUserAgentType.Browser"/>
22
22
/// </summary>
23
23
public static bool IsBrowser ( this in HttpUserAgentInformation userAgent ) => IsType ( userAgent , HttpUserAgentType . Browser ) ;
24
24
25
25
/// <summary>
26
- /// returns true if agent is a mobile device
26
+ /// returns <c> true</c> if agent is a mobile device
27
27
/// </summary>
28
- /// <remarks>checks if <seealso cref="HttpUserAgentInformation.MobileDeviceType"/> is null</remarks>
28
+ /// <remarks>checks if <see cref="HttpUserAgentInformation.MobileDeviceType"/> is null</remarks>
29
29
public static bool IsMobile ( this in HttpUserAgentInformation userAgent ) => userAgent . MobileDeviceType is not null ;
30
30
}
31
31
}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace MyCSharp.HttpUserAgentParser
10
10
public readonly struct HttpUserAgentPlatformInformation
11
11
{
12
12
/// <summary>
13
- /// Regex to match
13
+ /// Regex-pattern that matches this user agent string
14
14
/// </summary>
15
15
public Regex Regex { get ; }
16
16
You can’t perform that action at this time.
0 commit comments