📄️ Other Runtime API Examples
An index of Runtime API code examples: launching irVerify from code, overriding endpoints/data/culture at runtime, and rule tracing.
📄️ Launching irVerify and the State Viewer from code
Launch irVerify and the State Viewer from code using EntityTester and EntityStateViewer, given a valid RuleSession and Entity.
📄️ Overriding EndPoints at Runtime
Override a rule application's End Points at runtime using RuleSession with DatabaseConnection, SendMailServerDef, and WebServiceDef.
📄️ Overriding DataElements at Runtime
Override an inline table or inline XML data element at runtime using RuleSession, TableDef, and XmlDocumentDef.
📄️ Overriding Culture Settings at Runtime
Override InRule culture settings at runtime on a RuleSession using the InRule.Runtime namespace.
📄️ Rule Tracing Input and Output through irSDK
Trace rule input and output through irSDK using RuleSession and the InRule.Runtime.Tracing namespaces.
📄️ Working with the Trace Viewer through irSDK
Work with the Trace Viewer through irSDK using RuleSession and InRule.Runtime.Testing to review rule execution traces.
📄️ Executing a Simple Test Suite Prerequisites:
Execute a test suite from code using TestSuiteDef, RegressionTestingSession, and TestingSessionManager from InRule.Runtime.Testing.
📄️ Logging Metrics
Log InRule metrics to a chosen destination using the IMetricLogger adapter interface with a RuleSession.