예제 #1
0
 internal void MarkAsUsed(Symbol key)
 {
     if (optionalColumnUsage.ContainsKey(key))
     {
         optionalColumnUsage[key].Value = true;
     }
 }
예제 #2
0
 internal void Add(Symbol sourceSymbol, Symbol symbolToAdd)
 {
     BoolWrapper wrapper;
     if (sourceSymbol == null || !this.optionalColumnUsage.TryGetValue(sourceSymbol, out wrapper))
     {
         wrapper = new BoolWrapper();
     }
     this.optionalColumnUsage.Add(symbolToAdd, wrapper);
 }
예제 #3
0
        internal bool TryGetValue(Symbol key, out bool value)
        {
            BoolWrapper wrapper;
            if (optionalColumnUsage.TryGetValue(key, out wrapper))
            {
                value = wrapper.Value;
                return true;
            }

            value = false;
            return false;
        }
예제 #4
0
 internal bool IsUsed(Symbol key)
 {
     return optionalColumnUsage[key].Value;
 }
예제 #5
0
 internal bool ContainsKey(Symbol key)
 {
     return optionalColumnUsage.ContainsKey(key);
 }
예제 #6
0
 internal OptionalColumn(SymbolUsageManager usageManager, Symbol symbol)
 {
     this.m_usageManager = usageManager;
     this.m_symbol = symbol;
 }
예제 #7
0
 public SymbolPair(Symbol source, Symbol column)
 {
     this.Source = source;
     this.Column = column;
 }
예제 #8
0
 internal void Add(string name, Symbol value)
 {
     symbols[symbols.Count - 1][name] = value;
 }