コード例 #1
0
 /// <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);
 }
コード例 #2
0
 /// <summary>
 /// Registers a source on this target.
 /// </summary>
 /// <param name="source"></param>
 public void RegisterSource(OsmCompleteStreamSource source)
 {
     _source = source;
 }
コード例 #3
0
 /// <summary>
 /// Registers a simple source on this target.
 /// </summary>
 /// <param name="source"></param>
 public void RegisterSource(OsmStreamSource source)
 {
     _source = new OsmSimpleCompleteStreamSource(source);
 }
コード例 #4
0
 public void RegisterSource(OsmStreamSource source)
 {
     this._source = (OsmCompleteStreamSource) new OsmSimpleCompleteStreamSource(source);
 }