void IBinaryXmlElement.Read(BinaryXmlReader reader) { File = reader.ReadStringValue ("File"); LastScan = reader.ReadDateTimeValue ("LastScan"); AddinId = reader.ReadStringValue ("AddinId"); IsRoot = reader.ReadBooleanValue ("IsRoot"); ScanError = reader.ReadBooleanValue ("ScanError"); Domain = reader.ReadStringValue ("Domain"); IgnorePaths = (StringCollection) reader.ReadValue ("IgnorePaths", new StringCollection ()); }
internal override void Read (BinaryXmlReader reader) { path = reader.ReadStringValue ("path"); nodes = (ExtensionNodeDescriptionCollection) reader.ReadValue ("Nodes", new ExtensionNodeDescriptionCollection (this)); }
internal override void Read(BinaryXmlReader reader) { nodeName = reader.ReadStringValue ("nodeName"); attributes = (string[]) reader.ReadValue ("attributes"); childNodes = (ExtensionNodeDescriptionCollection) reader.ReadValue ("ChildNodes", new ExtensionNodeDescriptionCollection (this)); }
void IBinaryXmlElement.Read (BinaryXmlReader reader) { File = reader.ReadStringValue ("File"); LastScan = reader.ReadDateTimeValue ("LastScan"); AddinId = reader.ReadStringValue ("AddinId"); IsRoot = reader.ReadBooleanValue ("IsRoot"); ScanError = reader.ReadBooleanValue ("ScanError"); }
void IBinaryXmlElement.Read (BinaryXmlReader reader) { folder = reader.ReadStringValue ("folder"); reader.ReadValue ("files", files); }
void IBinaryXmlElement.Read(BinaryXmlReader reader) { id = reader.ReadStringValue ("id"); ns = reader.ReadStringValue ("ns"); isroot = reader.ReadBooleanValue ("isroot"); name = reader.ReadStringValue ("name"); version = reader.ReadStringValue ("version"); compatVersion = reader.ReadStringValue ("compatVersion"); hasUserId = reader.ReadBooleanValue ("hasUserId"); author = reader.ReadStringValue ("author"); url = reader.ReadStringValue ("url"); copyright = reader.ReadStringValue ("copyright"); description = reader.ReadStringValue ("description"); category = reader.ReadStringValue ("category"); basePath = reader.ReadStringValue ("basePath"); sourceAddinFile = reader.ReadStringValue ("sourceAddinFile"); defaultEnabled = reader.ReadBooleanValue ("defaultEnabled"); domain = reader.ReadStringValue ("domain"); mainModule = (ModuleDescription) reader.ReadValue ("MainModule"); optionalModules = (ModuleCollection) reader.ReadValue ("OptionalModules", new ModuleCollection (this)); nodeSets = (ExtensionNodeSetCollection) reader.ReadValue ("NodeSets", new ExtensionNodeSetCollection (this)); extensionPoints = (ExtensionPointCollection) reader.ReadValue ("ExtensionPoints", new ExtensionPointCollection (this)); conditionTypes = (ConditionTypeDescriptionCollection) reader.ReadValue ("ConditionTypes", new ConditionTypeDescriptionCollection (this)); fileInfo = (object[]) reader.ReadValue ("FilesInfo", null); localizer = (ExtensionNodeDescription) reader.ReadValue ("Localizer"); flags = (AddinFlags) reader.ReadInt32Value ("flags"); properties = (AddinPropertyCollectionImpl) reader.ReadValue ("Properties", new AddinPropertyCollectionImpl (this)); if (mainModule != null) mainModule.SetParent (this); }
void IBinaryXmlElement.Read (BinaryXmlReader reader) { Name = reader.ReadStringValue ("name"); Locale = reader.ReadStringValue ("locale"); Value = reader.ReadStringValue ("value"); }
public void Read (BinaryXmlReader reader) { fileName = reader.ReadStringValue ("fileName"); timestamp = reader.ReadDateTimeValue ("timestamp"); }
internal override void Read (BinaryXmlReader reader) { base.Read (reader); fullName = reader.ReadStringValue ("fullName"); package = reader.ReadStringValue ("package"); }
internal override void Read (BinaryXmlReader reader) { id = reader.ReadStringValue ("Id"); nodeTypes = (ExtensionNodeTypeCollection) reader.ReadValue ("NodeTypes", new ExtensionNodeTypeCollection (this)); reader.ReadValue ("NodeSets", NodeSets.InternalList); }
internal override void Read (BinaryXmlReader reader) { Id = reader.ReadStringValue ("Id"); TypeName = reader.ReadStringValue ("TypeName"); if (!reader.IgnoreDescriptionData) Description = reader.ReadStringValue ("Description"); AddinId = reader.ReadStringValue ("AddinId"); }
internal override void Read (BinaryXmlReader reader) { base.Read (reader); typeName = reader.ReadStringValue ("typeName"); objectTypeName = reader.ReadStringValue ("objectTypeName"); if (!reader.IgnoreDescriptionData) description = reader.ReadStringValue ("description"); addinId = reader.ReadStringValue ("addinId"); if (!reader.IgnoreDescriptionData) attributes = (NodeTypeAttributeCollection) reader.ReadValue ("Attributes", new NodeTypeAttributeCollection (this)); customAttributeTypeName = reader.ReadStringValue ("customAttributeType"); }
void IBinaryXmlElement.Read (BinaryXmlReader reader) { folder = reader.ReadStringValue ("folder"); reader.ReadValue ("files", files); domain = reader.ReadStringValue ("domain"); sharedFolder = reader.ReadBooleanValue ("sharedFolder"); }
internal override void Read(BinaryXmlReader reader) { base.Read (reader); id = reader.ReadStringValue ("id"); version = reader.ReadStringValue ("version"); }
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); }
bool OpenFileForPath (string f, string objectId, BinaryXmlTypeMap typeMap, bool checkOnly, out object result) { result = null; if (!Exists (f)) { return false; } using (Stream s = OpenRead (f)) { BinaryXmlReader reader = new BinaryXmlReader (s, typeMap); reader.ReadBeginElement (); string id = reader.ReadStringValue ("id"); if (objectId == null || objectId == id) { if (!checkOnly) result = reader.ReadValue ("data"); return true; } } return false; }
internal override void Read(BinaryXmlReader reader) { name = reader.ReadStringValue ("name"); type = reader.ReadStringValue ("type"); required = reader.ReadBooleanValue ("required"); if (!reader.IgnoreDescriptionData) description = reader.ReadStringValue ("description"); localizable = reader.ReadBooleanValue ("localizable"); }
void IBinaryXmlElement.Read (BinaryXmlReader reader) { id = reader.ReadStringValue ("id"); ns = reader.ReadStringValue ("ns"); isroot = reader.ReadBooleanValue ("isroot"); name = reader.ReadStringValue ("name"); version = reader.ReadStringValue ("version"); compatVersion = reader.ReadStringValue ("compatVersion"); hasUserId = reader.ReadBooleanValue ("hasUserId"); author = reader.ReadStringValue ("author"); url = reader.ReadStringValue ("url"); copyright = reader.ReadStringValue ("copyright"); description = reader.ReadStringValue ("description"); category = reader.ReadStringValue ("category"); basePath = reader.ReadStringValue ("basePath"); sourceAddinFile = reader.ReadStringValue ("sourceAddinFile"); mainModule = (ModuleDescription) reader.ReadValue ("MainModule"); optionalModules = (ModuleCollection) reader.ReadValue ("OptionalModules", new ModuleCollection (this)); nodeSets = (ExtensionNodeSetCollection) reader.ReadValue ("NodeSets", new ExtensionNodeSetCollection (this)); extensionPoints = (ExtensionPointCollection) reader.ReadValue ("ExtensionPoints", new ExtensionPointCollection (this)); conditionTypes = (ConditionTypeDescriptionCollection) reader.ReadValue ("ConditionTypes", new ConditionTypeDescriptionCollection (this)); if (mainModule != null) mainModule.SetParent (this); }
internal override void Read (BinaryXmlReader reader) { name = reader.ReadStringValue ("name"); type = reader.ReadStringValue ("type"); required = reader.ReadBooleanValue ("required"); if (!reader.IgnoreDescriptionData) description = reader.ReadStringValue ("description"); localizable = reader.ReadBooleanValue ("localizable"); string ct = reader.ReadStringValue ("contentType"); try { ContentType = (ContentType) Enum.Parse (typeof(ContentType), ct); } catch { ContentType = ContentType.Text; } }