Exemplo n.º 1
0
 public void WriteXML(XmlTextWriter writer)
 {
     writer.WriteStartElement(CrunchedLayer.GetXMLTag());
     writer.WriteAttributeString(Layer.GetLayerDisplayNameTag(), this.displayName);
     writer.WriteAttributeString("ReferenceName", SampleHTMLWriter.ReferenceName(this.displayName));
     this.namingScheme.WriteXML(writer);
     writer.WriteStartElement("DefaultView");
     this.defaultView.WriteXMLToAttributes(writer);
     writer.WriteEndElement();
     writer.WriteStartElement("SourceMapRecordList");
     foreach (SourceMapRecord current in this.sourceMapRecords)
     {
         current.WriteXML(writer);
     }
     writer.WriteEndElement();
     writer.WriteStartElement("RangeDescriptors");
     foreach (RangeDescriptor current2 in this.rangeDescriptors)
     {
         current2.WriteXML(writer);
     }
     writer.WriteEndElement();
     foreach (ThumbnailRecord current3 in this.thumbnailRecords)
     {
         current3.WriteXML(writer);
     }
     writer.WriteEndElement();
 }
Exemplo n.º 2
0
        public CrunchedFile(MashupParseContext context)
        {
            XMLTagReader xMLTagReader = context.NewTagReader(CrunchedFile.crunchedFileTag);

            while (xMLTagReader.FindNextStartTag())
            {
                if (xMLTagReader.TagIs(LayerList.GetXMLTag()))
                {
                    XMLTagReader xMLTagReader2 = context.NewTagReader(LayerList.GetXMLTag());
                    while (xMLTagReader2.FindNextStartTag())
                    {
                        if (xMLTagReader2.TagIs(CrunchedLayer.GetXMLTag()))
                        {
                            this.crunchedLayers.Add(new CrunchedLayer(context));
                        }
                    }
                }
            }
        }
Exemplo n.º 3
0
 public RenderedLayerSelector(CrunchedLayer crunchedLayer)
 {
     this.crunchedLayer = crunchedLayer;
 }
Exemplo n.º 4
0
		public RenderedLayerSelector(CrunchedLayer crunchedLayer)
		{
			this.crunchedLayer = crunchedLayer;
		}