public IReaderSource this[string name]
        {
            get
            {
                if (!_sources.ContainsKey(name))
                {
                    var source = new MockReaderSource(name);
                    _sources.Add(name, source);
                }

                return (IReaderSource) _sources[name];
            }
            set { _sources[name] = value; }
        }
Esempio n. 2
0
        public IReaderSource this[string name]
        {
            get
            {
                if (!_sources.ContainsKey(name))
                {
                    var source = new MockReaderSource(name);
                    _sources.Add(name, source);
                }

                return((IReaderSource)_sources[name]);
            }
            set { _sources[name] = value; }
        }