Skip to content

Commit

Permalink
Refactor some codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
clown committed Aug 26, 2020
1 parent aa95fc1 commit dbdb068
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public SettingFolder(Assembly assembly, string root, IO io) :
/// </summary>
///
/* ----------------------------------------------------------------- */
public string UserAgent => _userAgent ?? (_userAgent = GetUserAgent());
public string UserAgent => _userAgent ??= GetUserAgent();

#endregion

Expand Down

0 comments on commit dbdb068

Please sign in to comment.