1
0
mirror of https://github.com/1C-Company/v8-code-style.git synced 2025-01-21 05:21:23 +02:00
v8-code-style/bundles/com.e1c.v8codestyle.bsl/markdown/structure-consructor-too-many-keys.md
2021-06-21 22:06:07 +03:00

370 B

structure-consructor-too-many-keys

Check structure constructor has more then 3 keys

Noncompliant Code Example


Parameters = new Structure("Key1, Key2, Key3, Key4");

Compliant Solution

Parameters = new Structure();
Parameters.Insert("Key1");
Parameters.Insert("Key2");
Parameters.Insert("Key3");
Parameters.Insert("Key3");

See