Exemple #1
0
 /// <summary>
 /// Initializes the MIB type. This will remove all levels of
 /// indirection present, such as references to types or values. No
 /// information is lost by this operation. This method may modify
 /// this object as a side-effect, and will return the basic
 /// type.
 /// NOTE: This is an internal method that should
 /// only be called by the MIB loader.
 /// </summary>
 /// <param name="symbol">The MIB symbol containing this type</param>
 /// <param name="log">The MIB Loader Log</param>
 /// <returns>The basic MIB type</returns>
 /// <exception cref="MibException">If an error was encountered
 /// during initialization</exception>
 public abstract MibType Initialize(MibSymbol symbol, MibLoaderLog log);
Exemple #2
0
 /// <summary>
 /// Adds a symbol to this MIB.
 /// </summary>
 /// <param name="symbol">The symbol to add</param>
 public void AddSymbol(MibSymbol symbol)
 {
     this.symbolList.Add(symbol);
     this.symbolNameMap.Add(symbol.Name, symbol);
 }