Пример #1
0
 public void AddInterface(ComInterface intrface, bool restricted = false)
 {
     if (!_interfaces.ContainsKey(intrface))
     {
         _interfaces.Add(intrface, restricted);
     }
 }
Пример #2
0
 public void AddInterface(ComInterface intrface, bool restricted = false)
 {
     Debug.Assert(intrface != null);
     if (!_interfaces.ContainsKey(intrface))
     {
         _interfaces.Add(intrface, restricted);
     }
 }