Exemplo n.º 1
0
        public static BasicSymbolStorage ToBasicSymbolStorage(this INativeSymbolLookup lookup)
        {
            var storage = new BasicSymbolStorage();

            foreach (var name in lookup.NativeNames)
            {
                var symbol = lookup.GetGlobalSymbol(name);
                storage.Add(symbol);
            }
            return(storage);
        }
Exemplo n.º 2
0
 public NativeSymbolBag(INativeSymbolLookup nextSymbolBag = null)
 {
     _storage          = new BasicSymbolStorage();
     _nextSymbolLookup = nextSymbolBag ?? EmptyLookup;
 }