📄️ .NET Assembly Object State
This feature allows InRule Entities and Fields to be bound to .NET objects at runtime.
📄️ Differences in Assembly Binding Behavior at Runtime vs Authoring-time
Authoring
📄️ Binding to Collections
Historically, an object exposing collection properties required the .NET collection type to implement either IList or IList<T> in order to be used in a .NET Assembly Schema binding.
📄️ .NET Assembly State Refresh Options
When a rule application schema is bound to a .NET assembly and the instance methods from the bound classes are being called from within rules, there is a setting available that can improve performance in certain situations. By default, all bound fields must be refreshed in order to ensure the dependency network is aware of the changes that occurred within the method. Minimizing the fields that are refreshed after the call can reduce overall processing time, especially for large bound schemas or when instance methods are called often. The following directions will explain the process of telling the rules engine to only update specific fields specified by the user.