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
88 public static class HttpUserAgentInformationExtensions
99 {
1010 /// <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" / >
1212 /// </summary>
1313 public static bool IsType ( this in HttpUserAgentInformation userAgent , HttpUserAgentType type ) => userAgent . Type == type ;
1414
1515 /// <summary>
16- /// returns true <see cref="HttpUserAgentInformation.Type "/> is a robot
16+ /// Tests if <paramref name="userAgent "/> is of type <see cref="HttpUserAgentType.Robot"/>
1717 /// </summary>
1818 public static bool IsRobot ( this in HttpUserAgentInformation userAgent ) => IsType ( userAgent , HttpUserAgentType . Robot ) ;
1919
2020 /// <summary>
21- /// returns true <see cref="HttpUserAgentInformation.Type "/> is a browser
21+ /// Tests if <paramref name="userAgent "/> is of type <see cref="HttpUserAgentType.Browser"/>
2222 /// </summary>
2323 public static bool IsBrowser ( this in HttpUserAgentInformation userAgent ) => IsType ( userAgent , HttpUserAgentType . Browser ) ;
2424
2525 /// <summary>
26- /// returns true if agent is a mobile device
26+ /// returns <c> true</c> if agent is a mobile device
2727 /// </summary>
28- /// <remarks>checks if <seealso cref="HttpUserAgentInformation.MobileDeviceType"/> is null</remarks>
28+ /// <remarks>checks if <see cref="HttpUserAgentInformation.MobileDeviceType"/> is null</remarks>
2929 public static bool IsMobile ( this in HttpUserAgentInformation userAgent ) => userAgent . MobileDeviceType is not null ;
3030 }
3131}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace MyCSharp.HttpUserAgentParser
1010 public readonly struct HttpUserAgentPlatformInformation
1111 {
1212 /// <summary>
13- /// Regex to match
13+ /// Regex-pattern that matches this user agent string
1414 /// </summary>
1515 public Regex Regex { get ; }
1616
You can’t perform that action at this time.
0 commit comments