private static void Main(string[] args) { var repository = new RuleRepository(); repository.Load(x => x.From(Assembly.GetExecutingAssembly())); ISessionFactory factory = repository.Compile(); ISession session = factory.CreateSession(); session.Insert(new Fact1 { TestProperty = "Valid Value" }); VisualizerHost.Visualize(session); }
public static void Visualize(ISession session) { var host = new VisualizerHost(session); host.ShowVisualizer(); }