public IPhone GetPhone(EntityId entityId) { if (_phoneDictionary.ContainsKey(entityId)) { return _phoneDictionary[entityId]; } IPhone proxy = new PhoneProxy(entityId, _client, this); _phoneDictionary.Add(entityId, proxy); return proxy; }
public IPhone GetPhone(EntityId entityId) { if (_phoneDictionary.ContainsKey(entityId)) { return _phoneDictionary[entityId]; } IPhone proxy = new PhoneProxy(entityId, _client, this); _phoneDictionary.Add(entityId, proxy); return proxy; }