Overhead reduction
You reduce overhead by centralizing logic and eliminating redundancy.
- You can replaceComplex DynamicLinkswith customized scripts to centralize data processing if theComplex DynamicLinksbecome way too impactful.TIP:NetLogicmay significantly impact the application start.The following example compares aKey-value converterwith an equivalentNetLogicimplementation. The converter maps input ranges to string values. ANetLogicmethod can produce the same result with centralized logic.
Use this approach when multiple dynamic links apply the same mapping logic. A singleNetLogicmethod is easier to reuse and maintain than repeating the same converter logic across objects.[ExportMethod] public void CheckRange(int value, out string range) { if (value < 10) { range = "low"; } else if (value < 20) { range = "mid"; } else { range = "high"; } } - Aggregate shared variables across multiple objects to reduce redundancy.TIP: See Create common objects.
Provide Feedback