STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Choice.cs
Go to the documentation of this file.
1 /*
2  * Created by SharpDevelop.
3  * User: lextm
4  * Date: 2008/5/31
5  * Time: 11:39
6  *
7  * To change this template use Tools | Options | Coding | Edit Standard Headers.
8  */
9 
10 namespace Lextm.SharpSnmpLib.Mib.Elements.Types
11 {
15  public sealed class Choice : BaseType
16  {
23  public Choice(IModule module, string name, ISymbolEnumerator symbols)
24  : base(module, name)
25  {
26  while (symbols.NextNonEOLSymbol() != Symbol.OpenBracket)
27  {
28  }
29 
30  while (symbols.NextNonEOLSymbol() != Symbol.CloseBracket)
31  {
32  }
33  }
34  }
35 }
The CHOICE type represents a list of alternatives..
Definition: Choice.cs:15
MIB Module interface.
Definition: IModule.cs:36
static readonly Symbol OpenBracket
Definition: Symbol.cs:185
static readonly Symbol CloseBracket
Definition: Symbol.cs:186
Choice(IModule module, string name, ISymbolEnumerator symbols)
Creates a Choice instance.
Definition: Choice.cs:23
Description of Symbol.
Definition: Symbol.cs:20