1
0
mirror of https://github.com/1C-Company/v8-code-style.git synced 2025-03-04 16:15:57 +02:00
v8-code-style/bundles/com.e1c.v8codestyle.bsl/markdown/module-structure-event-regions.md
Artem Iliukhin 2232919a08
Добавлена проверка области событий (#1081)
* Добавлена проверка области событий #773 #330
2022-07-30 00:09:29 +03:00

737 B

The Event handlers section contains the event handlers of the object module (OnWrite, Posting, and so on)

Checks the region of event handlers for methods related only to handlers

Noncompliant Code Example


#Region EventHandlers

Procedure Test()
    //TODO: Insert the handler content
EndProcedure

#EndRegion

```bsl

## Compliant Solution

```bsl

#Region EventHandlers

Procedure FormGetProcessing(FormType, Parameters, SelectedForm, AdditionalInformation, StandardProcessing)
    //TODO: Insert the handler content
EndProcedure

#EndRegion

```bsl

## See


- [Module structure](https://1c-dn.com/library/module_structure/)
- [Module structure](https://support.1ci.com/hc/en-us/articles/360011002360-Module-structure)