public IPerson GetPerson(EntityId entityId) { if (_personDictionary.ContainsKey(entityId)) { return _personDictionary[entityId]; } IPerson proxy = new PersonProxy(entityId, _client, this); _personDictionary.Add(entityId, proxy); return proxy; }
public IPerson GetPerson(EntityId entityId) { if (_personDictionary.ContainsKey(entityId)) { return _personDictionary[entityId]; } IPerson proxy = new PersonProxy(entityId, _client, this); _personDictionary.Add(entityId, proxy); return proxy; }