A collection of extension point definitions.
Inheritance: ObjectDescriptionCollection
Ejemplo n.º 1
0
        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());

            if (mainModule != null)
            {
                mainModule.SetParent(this);
            }
        }
        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);
            }
        }
		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);
		}
Ejemplo n.º 4
0
        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);
        }