示例#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);
        }
示例#2
0
 public void Add(NativeGlobalSymbol symbol) => _storage.Add(symbol);