Update config x segnalazione errori/violazioni
This commit is contained in:
@@ -2,3 +2,12 @@
|
||||
|
||||
# IDE0058: Il valore dell'espressione non viene mai usato
|
||||
csharp_style_unused_value_expression_statement_preference = discard_variable:none
|
||||
|
||||
# IDE1006: Stili di denominazione
|
||||
dotnet_diagnostic.IDE1006.severity = none
|
||||
|
||||
# CA5368: Impostare ViewStateUserKey per classi derivate da Page
|
||||
dotnet_diagnostic.CA5368.severity = none
|
||||
|
||||
# CA1707: Gli identificatori non devono contenere caratteri di sottolineatura
|
||||
dotnet_diagnostic.CA1707.severity = none
|
||||
|
||||
@@ -7,14 +7,14 @@ using System.Web.UI.WebControls;
|
||||
|
||||
namespace NKC_WF
|
||||
{
|
||||
public partial class DevUtils : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
public partial class DevUtils : System.Web.UI.Page
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
((SiteMaster)this.Master).showSearch = false;
|
||||
}
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
((SiteContent)this.Master).showSearch = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,18 +4,18 @@ using System.Web.UI;
|
||||
|
||||
namespace NKC_WF
|
||||
{
|
||||
public partial class ErrorsLog : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
public partial class ErrorsLog : System.Web.UI.Page
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
string PUID = memLayer.ML.QSS("PUID");
|
||||
if (PUID != "")
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
cmp_ErrorsLog.Puid = PUID;
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
string PUID = memLayer.ML.QSS("PUID");
|
||||
if (!string.IsNullOrEmpty(PUID))
|
||||
{
|
||||
cmp_ErrorsLog.Puid = PUID;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user