Skip to main content



Launching irVerify and the State Viewer from code

Prerequisites: A valid RuleSession and Entity.
Namespaces: InRule.Runtime.Testing
Classes: EntityTester, EntityStateViewer
See Also: Retrieving a Rule Application, Creating a RuleSession, Creating Entities

Start irVerify

// Start irVerify by passing in the entity 
EntityTester.Show(mortgageEntity);

Show the state viewer

// Show the state viewer by passing in the entity 
EntityStateViewer.Show(mortgageEntity);

Required System References

  • PresentationFramework
  • PresentationCore
  • WindowsBase
  • System.Xaml

Required InRule References

  • inrule.runtime.dll
  • inrule.runtime.testing.dll
  • inrule.common.dll