public void AddInterface(ComInterface intrface, bool restricted = false) { if (!_interfaces.ContainsKey(intrface)) { _interfaces.Add(intrface, restricted); } }
public void AddInterface(ComInterface intrface, bool restricted = false) { Debug.Assert(intrface != null); if (!_interfaces.ContainsKey(intrface)) { _interfaces.Add(intrface, restricted); } }