/// <summary> /// Get or create a new Caps Service for the given client /// Note: This does not add them to a region if one is created. /// </summary> /// <param name="agentID"></param> /// <returns></returns> public IClientCapsService GetOrCreateClientCapsService(UUID agentID) { if (!m_ClientCapsServices.ContainsKey(agentID)) { var client = new PerClientBasedCapsService(); client.Initialize(this, agentID); m_ClientCapsServices.Add(agentID, client); } return(m_ClientCapsServices [agentID]); }
/// <summary> /// Get or create a new Caps Service for the given client /// Note: This does not add them to a region if one is created. /// </summary> /// <param name="AgentID"></param> /// <returns></returns> public IClientCapsService GetOrCreateClientCapsService(UUID AgentID) { if (!m_ClientCapsServices.ContainsKey(AgentID)) { PerClientBasedCapsService client = new PerClientBasedCapsService(); client.Initialise(this, AgentID); m_ClientCapsServices.Add(AgentID, client); } return(m_ClientCapsServices[AgentID]); }
/// <summary> /// Get or create a new Caps Service for the given client /// Note: This does not add them to a region if one is created. /// </summary> /// <param name="agentID"></param> /// <returns></returns> public IClientCapsService GetOrCreateClientCapsService(UUID agentID) { if (!m_ClientCapsServices.ContainsKey (agentID)) { var client = new PerClientBasedCapsService (); client.Initialize (this, agentID); m_ClientCapsServices.Add (agentID, client); } return m_ClientCapsServices [agentID]; }
/// <summary> /// Get or create a new Caps Service for the given client /// Note: This does not add them to a region if one is created. /// </summary> /// <param name="AgentID"></param> /// <returns></returns> public IClientCapsService GetOrCreateClientCapsService(UUID AgentID) { if (!m_ClientCapsServices.ContainsKey(AgentID)) { PerClientBasedCapsService client = new PerClientBasedCapsService(); client.Initialise(this, AgentID); m_ClientCapsServices.Add(AgentID, client); } return m_ClientCapsServices[AgentID]; }