public GeneralDocumentFuture(MashupParseContext context, string pathBase) { XMLTagReader xMLTagReader = context.NewTagReader(GeneralDocumentFuture.GetXMLTag()); while (xMLTagReader.FindNextStartTag()) { if (xMLTagReader.TagIs(FutureDocumentFromFilesystem.GetXMLTag())) { if (this._documentFuture != null) { throw new InvalidMashupFile(context, "Too many specs in " + GeneralDocumentFuture.GetXMLTag()); } this._documentFuture = new FutureDocumentFromFilesystem(context, pathBase); } else { if (xMLTagReader.TagIs(FutureDocumentFromUri.GetXMLTag())) { if (this._documentFuture != null) { throw new InvalidMashupFile(context, "Too many specs in " + GeneralDocumentFuture.GetXMLTag()); } this._documentFuture = new FutureDocumentFromUri(context); } } } if (this._documentFuture == null) { throw new InvalidMashupFile(context, "No spec in " + GeneralDocumentFuture.GetXMLTag()); } }
public GeneralDocumentFuture(MashupParseContext context, string pathBase) { XMLTagReader xMLTagReader = context.NewTagReader(GetXMLTag()); while (xMLTagReader.FindNextStartTag()) { if (xMLTagReader.TagIs(FutureDocumentFromFilesystem.GetXMLTag())) { if (documentFuture != null) { throw new InvalidMashupFile(context, "Too many specs in " + GetXMLTag()); } documentFuture = new FutureDocumentFromFilesystem(context, pathBase); } else { if (xMLTagReader.TagIs(FutureDocumentFromUri.GetXMLTag())) { if (documentFuture != null) { throw new InvalidMashupFile(context, "Too many specs in " + GetXMLTag()); } documentFuture = new FutureDocumentFromUri(context); } } } if (documentFuture == null) { throw new InvalidMashupFile(context, "No spec in " + GetXMLTag()); } }
public SourceMap(IDocumentFuture documentDescriptor, SourceMap.GetFilenameContext filenameContextDelegate, DirtyEvent parentDirty, DirtyEvent parentReadyToLockEvent) { this.dirtyEvent = new DirtyEvent(parentDirty); this.readyToLockChangedEvent = new DirtyEvent(parentReadyToLockEvent); this._documentFuture = new GeneralDocumentFuture(documentDescriptor); this._displayName = documentDescriptor.GetDefaultDisplayName(); this.filenameContextDelegate = filenameContextDelegate; this._sourceMapInfo = new SourceMapInfo(this.dirtyEvent); this._sourceMapRenderOptions = new SourceMapRenderOptions(this.dirtyEvent); this._transparencyOptions = new TransparencyOptions(this.dirtyEvent); this.registration = new RegistrationDefinition(this.dirtyEvent); this.registration.dirtyEvent.Add(this.readyToLockChangedEvent); this.latentRegionHolder = new LatentRegionHolder(this.dirtyEvent, this.readyToLockChangedEvent); this.legendList = new LegendList(this, this.dirtyEvent, this.readyToLockChangedEvent); this.renderRegion = null; }
public SourceMap(IDocumentFuture documentDescriptor, SourceMap.GetFilenameContext filenameContextDelegate, DirtyEvent parentDirty, DirtyEvent parentReadyToLockEvent) { this.dirtyEvent = new DirtyEvent(parentDirty); this.readyToLockChangedEvent = new DirtyEvent(parentReadyToLockEvent); this._documentFuture = new GeneralDocumentFuture(documentDescriptor); this._displayName = documentDescriptor.GetDefaultDisplayName(); this.filenameContextDelegate = filenameContextDelegate; this._sourceMapInfo = new SourceMapInfo(this.dirtyEvent); this._sourceMapRenderOptions = new SourceMapRenderOptions(this.dirtyEvent); this._transparencyOptions = new TransparencyOptions(this.dirtyEvent); this.registration = new RegistrationDefinition(this.dirtyEvent); this.registration.dirtyEvent.Add(this.readyToLockChangedEvent); this.latentRegionHolder = new LatentRegionHolder(this.dirtyEvent, this.readyToLockChangedEvent); this.legendList = new LegendList(this, this.dirtyEvent, this.readyToLockChangedEvent); this.renderRegion = null; }
public GeneralDocumentFuture(IDocumentFuture documentFuture) { this._documentFuture = documentFuture; }
public GeneralDocumentFuture(IDocumentFuture documentFuture) { this.documentFuture = documentFuture; }
public GeneralDocumentFuture(IDocumentFuture documentFuture) { _documentFuture = documentFuture; }