Example #1
0
 internal override void Read(BinaryXmlReader reader)
 {
     path = reader.ReadStringValue("path");
     name = reader.ReadStringValue("name");
     if (!reader.IgnoreDescriptionData)
     {
         description = reader.ReadStringValue("description");
     }
     rootAddin  = reader.ReadStringValue("rootAddin");
     addins     = (StringCollection)reader.ReadValue("addins", new StringCollection());
     nodeSet    = (ExtensionNodeSet)reader.ReadValue("NodeSet");
     conditions = (ConditionTypeDescriptionCollection)reader.ReadValue("Conditions", new ConditionTypeDescriptionCollection(this));
     if (nodeSet != null)
     {
         nodeSet.SetParent(this);
     }
 }
Example #2
0
 internal void SetNodeSet(ExtensionNodeSet nset)
 {
     // Used only by the addin updater
     nodeSet = nset;
     nodeSet.SetParent(this);
 }
Example #3
0
 internal void SetNodeSet(ExtensionNodeSet nset)
 {
     // Used only by the addin updater
     nodeSet = nset;
     nodeSet.SetParent (this);
 }
Example #4
0
 internal override void Read(BinaryXmlReader reader)
 {
     path = reader.ReadStringValue ("path");
     name = reader.ReadStringValue ("name");
     if (!reader.IgnoreDescriptionData)
         description = reader.ReadStringValue ("description");
     rootAddin = reader.ReadStringValue ("rootAddin");
     addins = (List<string>) reader.ReadValue ("addins", new List<string> ());
     nodeSet = (ExtensionNodeSet) reader.ReadValue ("NodeSet");
     conditions = (ConditionTypeDescriptionCollection) reader.ReadValue ("Conditions", new ConditionTypeDescriptionCollection (this));
     defaultInsertBefore = reader.ReadStringValue ("defaultInsertBefore");
     defaultInsertAfter = reader.ReadStringValue ("defaultInsertAfter");
     if (nodeSet != null)
         nodeSet.SetParent (this);
 }