Exemplo n.º 1
0
        }     // ComponentsDictionary

        private string GetComponentKey([CanBeNull] ThirdPartyDependency component) => (component == null)? "" : component.GetKey();
Exemplo n.º 2
0
 public ThirdPartyDependency this[[CanBeNull] ThirdPartyDependency component] => ComponentsDictionary.TryGetValue(GetComponentKey(component), out var value) ? value : null;