Пример #1
0
 protected bool Equals(Key other)
 {
     return Equals(Type, other.Type) && string.Equals(Name, other.Name);
 }
Пример #2
0
 public object GetOrAdd(Key key, Func<Key, object> factory)
 {
     return instances.GetOrAdd(key, factory);
 }