コード例 #1
0
        public void SupportRemote(byte option)
        {
            CompatibilityEntry entry = _table[option];

            entry.Remote   = true;
            _table[option] = entry;
        }
コード例 #2
0
        public void SupportLocal(byte option)
        {
            CompatibilityEntry entry = _table[option];

            entry.Local    = true;
            _table[option] = entry;
        }
コード例 #3
0
 public CompatibilityTable(IEnumerable <Tuple <byte, byte> > supported)
 {
     foreach (Tuple <byte, byte> sup in supported)
     {
         CompatibilityEntry entry = sup.Item2;
         SetOption(sup.Item1, entry);
     }
 }
コード例 #4
0
 public void SetOption(byte option, CompatibilityEntry entry)
 {
     _table[option] = entry;
 }