/// <summary> /// Loads the key definition data /// </summary> private void LoadKeyDefs(IEnumerable <string> xmlDefs) { foreach (string keyDefXml in xmlDefs) { XmlKeyLoader loader = new XmlKeyLoader(DtdLoader, _defClassFactory); var loadKey = loader.LoadKey(keyDefXml, _propDefCol); if (loadKey != null) { _keyDefCol.Add(loadKey); } } }
protected void Initialise() { _xmlKeyLoader = new XmlKeyLoader(new DtdLoader(), GetDefClassFactory()); _propDefCol = GetDefClassFactory().CreatePropDefCol(); _propDefCol.Add(GetDefClassFactory().CreatePropDef("TestProp", "System", "String", PropReadWriteRule.ReadWrite, "TestProp", null, false, false, 255, null, null, false)); }
/// <summary> /// Loads the key definition data /// </summary> private void LoadKeyDefs(IEnumerable<string> xmlDefs) { foreach (string keyDefXml in xmlDefs) { XmlKeyLoader loader = new XmlKeyLoader(DtdLoader, _defClassFactory); var loadKey = loader.LoadKey(keyDefXml, _propDefCol); if(loadKey != null) _keyDefCol.Add(loadKey); } }