Skip to content

Commit e7a711f

Browse files
authored
Newline
1 parent 029518c commit e7a711f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reference/extending/custom-regions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ There's currently one example called *IfElse* to be found in the help browser un
148148
It defines an interface called `IIfElsePatch` which acts as the patch inlay with two operations `Then` and `Else`.
149149
On open it creates one patch inlay and from then on calls `Then` or `Else` on it based on the input condition.
150150
The same example can also be found written in C# here: https://github.com/vvvv/VL.StandardLibs/blob/main/VL.TestNodes/src/IfElseRegion.cs
151+
151152
Another C# example is the [`ForEach (Key)` region](https://github.com/vvvv/VL.StandardLibs/blob/c4fb51ab5354cac01bf9dbcdac7efe749e47e0f3/VL.CoreLib/src/Control/Synchronize.cs#L345), it also shows that the patch inlay can have pins.
152153

153154
### Usage
@@ -178,3 +179,4 @@ While we consider the API in a rather good state (it emerged from serveral propo
178179
* The interface used for the inlay must not interit from other interfaces.
179180
* Type parameters on the interface (generic interface) have not been tested yet.
180181

182+

0 commit comments

Comments
 (0)