Beispiel #1
0
            public void Add(string dataSourceSubType, string dataSourceName, TilingScheme schema)
            {
                string         key = dataSourceSubType == null ? "default" : dataSourceSubType;
                SubTypeSchemas s2;

                if (!_TSchemas.ContainsKey(key))
                {
                    s2 = new SubTypeSchemas();
                    _TSchemas.Add(key, s2);
                }
                else
                {
                    s2 = _TSchemas[key];
                }
                s2.Add(dataSourceName, schema);
            }
Beispiel #2
0
            public void SetDownloadUrl(string dataSourceSubType, string dataSourceName, string url)
            {
                string         key = dataSourceSubType == null ? "default" : dataSourceSubType;
                SubTypeSchemas s2;

                if (!_TSchemas.ContainsKey(key))
                {
                    s2 = new SubTypeSchemas();
                    _TSchemas.Add(key, s2);
                }
                else
                {
                    s2 = _TSchemas[key];
                }
                s2.SetDownloadUrl(dataSourceName, url);
            }