public IStreamingItem GetItem(string name) { var path = Path.Combine(_path, name); IStreamingItem item; if (!GetRealContainer()._items.TryGetValue(path, out item)) { item = new MemoryStreamingItem(this, path); } return(item); }
internal void Remove(MemoryStreamingItem item) { IStreamingItem dummy; GetRealContainer()._items.TryRemove(item.FullPath, out dummy); }
internal void Add(MemoryStreamingItem item) { GetRealContainer()._items.TryAdd(item.FullPath, item); }
public IStreamingItem GetItem(string name) { var path = Path.Combine(_path, name); IStreamingItem item; if (!GetRealContainer()._items.TryGetValue(path, out item)) { item = new MemoryStreamingItem(this, path); } return item; }