Apply code style formatting and restore partial modifiers on Avalonia views

Linter/formatter pass across the full codebase. Restores required partial
keyword on AXAML code-behind classes that the formatter incorrectly removed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Joseph Doherty
2026-03-31 07:58:13 -04:00
parent 55ef854612
commit 41a6b66943
221 changed files with 4274 additions and 3823 deletions

View File

@@ -1,3 +1,4 @@
using System;
using Shouldly;
using Xunit;
using ZB.MOM.WW.LmxOpcUa.Host.Configuration;
@@ -53,10 +54,9 @@ namespace ZB.MOM.WW.LmxOpcUa.Tests.Authentication
{
provider.ValidateCredentials("readonly", "readonly123").ShouldBeTrue();
}
catch (System.Exception)
catch (Exception)
{
// GLAuth not running - skip gracefully
return;
}
}
@@ -70,9 +70,8 @@ namespace ZB.MOM.WW.LmxOpcUa.Tests.Authentication
{
provider.ValidateCredentials("readonly", "wrongpassword").ShouldBeFalse();
}
catch (System.Exception)
catch (Exception)
{
return; // GLAuth not running
}
}
@@ -86,9 +85,8 @@ namespace ZB.MOM.WW.LmxOpcUa.Tests.Authentication
{
provider.ValidateCredentials("nonexistent", "anything").ShouldBeFalse();
}
catch (System.Exception)
catch (Exception)
{
return; // GLAuth not running
}
}
@@ -106,9 +104,8 @@ namespace ZB.MOM.WW.LmxOpcUa.Tests.Authentication
roles.ShouldNotContain("WriteOperate");
roles.ShouldNotContain("AlarmAck");
}
catch (System.Exception)
catch (Exception)
{
return; // GLAuth not running
}
}
@@ -125,9 +122,8 @@ namespace ZB.MOM.WW.LmxOpcUa.Tests.Authentication
roles.ShouldContain("WriteOperate");
roles.ShouldNotContain("AlarmAck");
}
catch (System.Exception)
catch (Exception)
{
return; // GLAuth not running
}
}
@@ -144,9 +140,8 @@ namespace ZB.MOM.WW.LmxOpcUa.Tests.Authentication
roles.ShouldContain("AlarmAck");
roles.ShouldNotContain("WriteOperate");
}
catch (System.Exception)
catch (Exception)
{
return; // GLAuth not running
}
}
@@ -166,9 +161,8 @@ namespace ZB.MOM.WW.LmxOpcUa.Tests.Authentication
roles.ShouldContain("WriteConfigure");
roles.ShouldContain("AlarmAck");
}
catch (System.Exception)
catch (Exception)
{
return; // GLAuth not running
}
}
@@ -234,4 +228,4 @@ namespace ZB.MOM.WW.LmxOpcUa.Tests.Authentication
};
}
}
}
}