Ejemplo n.º 1
0
 public override void FromXml(XElement config, Dictionary <ObjectId, ObjectId> map)
 {
     foreach (var ruleConfig in config.Elements(MarkupLineRawRule <RegularLineStyle> .XmlName))
     {
         if (MarkupLineRawRule <RegularLineStyle> .FromXml(ruleConfig, this, map, out MarkupLineRawRule <RegularLineStyle> rule))
         {
             AddRule(rule, false);
         }
     }
 }
Ejemplo n.º 2
0
 public void FromXml(XElement config, Dictionary <ObjectId, ObjectId> map)
 {
     foreach (var ruleConfig in config.Elements(MarkupLineRawRule.XmlName))
     {
         if (MarkupLineRawRule.FromXml(ruleConfig, this, map, out MarkupLineRawRule rule))
         {
             AddRule(rule, false);
         }
     }
 }
Ejemplo n.º 3
0
 public override void FromXml(XElement config, ObjectsMap map, bool invert)
 {
     if (config.Element(MarkupLineRawRule <Style> .XmlName) is XElement ruleConfig && MarkupLineRawRule <Style> .FromXml(ruleConfig, this, map, invert, out MarkupLineRawRule <Style> rule))
     {
         SetRule(rule);
     }
 }
Ejemplo n.º 4
0
 public override void FromXml(XElement config, Dictionary <ObjectId, ObjectId> map)
 {
     if (config.Element(MarkupLineRawRule <Style> .XmlName) is XElement ruleConfig && MarkupLineRawRule <Style> .FromXml(ruleConfig, this, map, out MarkupLineRawRule <Style> rule))
     {
         SetRule(rule);
     }
 }