OpenSim.Region.CoreModules.Agent.AssetTransaction.AssetTransactionModule.GetUserTransactions C# (CSharp) Method

GetUserTransactions() private method

Get the collection of asset transactions for the given user. If one does not already exist, it is created.
private GetUserTransactions ( UUID userID ) : OpenSim.Region.CoreModules.Agent.AssetTransaction.AgentAssetTransactions
userID UUID
return OpenSim.Region.CoreModules.Agent.AssetTransaction.AgentAssetTransactions
        private AgentAssetTransactions GetUserTransactions(UUID userID)
        {
            lock (AgentTransactions)
            {
                if (!AgentTransactions.ContainsKey(userID))
                {
                    AgentAssetTransactions transactions  = new AgentAssetTransactions(userID, this, m_dumpAssetsToFile);
                    AgentTransactions.Add(userID, transactions);
                }

                return AgentTransactions[userID];
            }
        }