public object GetValueAsFragment(XmlNode node) { var result = GetValueAsNode(node); if (result == null) { return null; } return fragmentFactory.GetEvent(result); }
public object GetFragment(EventBean eventBean) { if (fragmentFactory == null) { return null; } var result = Get(eventBean); if (result is XmlNode xmlNode) { return fragmentFactory.GetEvent(xmlNode); } return null; }