From a02b3fe01536ecb8584e7ce3fc1a7fcf74f80d49 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 7 Apr 2008 23:34:41 +0000 Subject: refactor of InventoryCollection for good measure --- OpenSim/Framework/InventoryCollection.cs | 41 ++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 7 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Framework/InventoryCollection.cs b/OpenSim/Framework/InventoryCollection.cs index 98e8bb6..c8d8716 100644 --- a/OpenSim/Framework/InventoryCollection.cs +++ b/OpenSim/Framework/InventoryCollection.cs @@ -34,20 +34,47 @@ namespace OpenSim.Framework { public class InventoryCollection { - public List Folders; - public List AllItems; - public LLUUID UserID; + public List _folders; + public List _allItems; + public LLUUID _userID; + + public List Folders { + get { + return _folders; + } + set { + _folders = value; + } + } + + public List AllItems { + get { + return _allItems; + } + set { + _allItems = value; + } + } + + public LLUUID UserID { + get { + return _userID; + } + set { + _userID = value; + } + } public InventoryCollection() { - Folders = new List(); - AllItems = new List(); + _folders = new List(); + _allItems = new List(); } public InventoryCollection(List folders, List allItems) { - Folders = folders; - AllItems = allItems; + _folders = folders; + _allItems = allItems; } } } -- cgit v1.1