Logo
Explore Help
Register Sign In
yv01p/Umbraco-CMS
1
0
Fork 0
You've already forked Umbraco-CMS
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
9c038bc68b6bc1cbfff2a4eb1904194d0de7020d
Umbraco-CMS/tests/Umbraco.Tests.Integration/Testing/TestWebProfilerRepository.cs

13 lines
326 B
C#
Raw Normal View History

Fixed tess
2023-02-21 11:28:21 +01:00
using Umbraco.Cms.Core.Persistence.Repositories;
namespace Umbraco.Cms.Tests.Integration.Testing;
public class TestWebProfilerRepository : IWebProfilerRepository
{
private bool _status = false;
Resolved more warnings, and marked more warning types as errors (#16990) * Fix warnings SA1111, SA1028, SA1500, IDE1270 in Umbraco.Web.Website, and updated rules. * Remove warnings: IDE0270: Null check can be simplified * More SqlServer project warnings resolved * CS0105 namespace appeared already * Suppress warning until implementation: #pragma warning disable CS0162 // Unreachable code detected #pragma warning disable CS0618 // Type or member is obsolete CS0162 remove unreachable code SA1028 remove trailing whitespace SA1106 no empty statements CS1570 malformed XML CS1572 corrected xml parameter CS1573 param tag added IDE0007 var not explicit IDE0008 explicit not var IDE0057 simplify substring IDE0074 compound assignment CA1825 array.empty Down to 3479 warnings
2024-09-10 15:17:29 +01:00
Fixed tess
2023-02-21 11:28:21 +01:00
public void SetStatus(int userId, bool status) => _status = status;
public bool GetStatus(int userId) => _status;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 214ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API