/// <summary> /// Registers a simple source on this target with a given cache. /// </summary> /// <param name="source"></param> /// <param name="cache"></param> public void RegisterSource(OsmStreamSource source, OsmDataCache cache) { _source = new OsmSimpleCompleteStreamSource(source, cache); }
/// <summary> /// Registers a source on this target. /// </summary> /// <param name="source"></param> public void RegisterSource(OsmCompleteStreamSource source) { _source = source; }
/// <summary> /// Registers a simple source on this target. /// </summary> /// <param name="source"></param> public void RegisterSource(OsmStreamSource source) { _source = new OsmSimpleCompleteStreamSource(source); }
public void RegisterSource(OsmStreamSource source) { this._source = (OsmCompleteStreamSource) new OsmSimpleCompleteStreamSource(source); }