Last change
on this file was 457, checked in by coas-nagasima, 4 years ago |
ファイルを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csharp;charset=UTF-8
|
File size:
550 bytes
|
Rev | Line | |
---|
[457] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 |
|
---|
| 4 | namespace Lextm.SharpSnmpLib.Mib.Elements.Types
|
---|
| 5 | {
|
---|
| 6 | public class BitsType : BaseType
|
---|
| 7 | {
|
---|
| 8 | private ValueMap _map;
|
---|
| 9 |
|
---|
| 10 | public BitsType(IModule module, string name, ISymbolEnumerator symbols)
|
---|
| 11 | : base(module, name)
|
---|
| 12 | {
|
---|
| 13 | _map = Lexer.DecodeEnumerations(symbols);
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | public ValueMap Map
|
---|
| 17 | {
|
---|
| 18 | get { return _map; }
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | public string this[int value]
|
---|
| 22 | {
|
---|
| 23 | get { return _map[value]; }
|
---|
| 24 | }
|
---|
| 25 | }
|
---|
| 26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.