aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
diff options
context:
space:
mode:
authorSean Dague2008-04-07 23:27:05 +0000
committerSean Dague2008-04-07 23:27:05 +0000
commit5ee75998ce4d941efd937848d28f3a4dac6ba6cc (patch)
treef29a100cb8ab3715c82f0aec4fee9f968f210405 /OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
parentRefactor InventoryItemBase to do the following: (diff)
downloadopensim-SC_OLD-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.zip
opensim-SC_OLD-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.tar.gz
opensim-SC_OLD-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.tar.bz2
opensim-SC_OLD-5ee75998ce4d941efd937848d28f3a4dac6ba6cc.tar.xz
more refactoring, this time on InventoryFolderBase
* wrap attributes in properties * clean up names a little bit * clean up name styles
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs')
-rw-r--r--OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs24
1 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
index 20edf51..37907a0 100644
--- a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
+++ b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
@@ -45,12 +45,12 @@ namespace OpenSim.Framework.Communications.Cache
45 // Constructors 45 // Constructors
46 public InventoryFolderImpl(InventoryFolderBase folderbase) 46 public InventoryFolderImpl(InventoryFolderBase folderbase)
47 { 47 {
48 agentID = folderbase.agentID; 48 AgentID = folderbase.AgentID;
49 folderID = folderbase.folderID; 49 ID = folderbase.ID;
50 name = folderbase.name; 50 Name = folderbase.Name;
51 parentID = folderbase.parentID; 51 ParentID = folderbase.ParentID;
52 type = folderbase.type; 52 Type = folderbase.Type;
53 version = folderbase.version; 53 Version = folderbase.Version;
54 } 54 }
55 55
56 public InventoryFolderImpl() 56 public InventoryFolderImpl()
@@ -63,12 +63,12 @@ namespace OpenSim.Framework.Communications.Cache
63 if (!SubFolders.ContainsKey(folderID)) 63 if (!SubFolders.ContainsKey(folderID))
64 { 64 {
65 InventoryFolderImpl subFold = new InventoryFolderImpl(); 65 InventoryFolderImpl subFold = new InventoryFolderImpl();
66 subFold.name = folderName; 66 subFold.Name = folderName;
67 subFold.folderID = folderID; 67 subFold.ID = folderID;
68 subFold.type = (short) type; 68 subFold.Type = (short) type;
69 subFold.parentID = this.folderID; 69 subFold.ParentID = this.ID;
70 subFold.agentID = agentID; 70 subFold.AgentID = AgentID;
71 SubFolders.Add(subFold.folderID, subFold); 71 SubFolders.Add(subFold.ID, subFold);
72 return subFold; 72 return subFold;
73 } 73 }
74 return null; 74 return null;