diff options
author | Sean Dague | 2008-05-02 12:35:24 +0000 |
---|---|---|
committer | Sean Dague | 2008-05-02 12:35:24 +0000 |
commit | 4a8f43244160ca9324cc43a54ba64a51e10268bf (patch) | |
tree | 5035f70e843c1a6594193e0cd7db1c1d57b83528 /OpenSim/Framework | |
parent | Minor formatting and documentation cleanup. (diff) | |
download | opensim-SC-4a8f43244160ca9324cc43a54ba64a51e10268bf.zip opensim-SC-4a8f43244160ca9324cc43a54ba64a51e10268bf.tar.gz opensim-SC-4a8f43244160ca9324cc43a54ba64a51e10268bf.tar.bz2 opensim-SC-4a8f43244160ca9324cc43a54ba64a51e10268bf.tar.xz |
minor refactoring. Change getName and GetVersion methods (yes the had different casings)
to Name and Version properties for the User stores.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Communications/UserManagerBase.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/IUserData.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs index 0a877f6..29bfe22 100644 --- a/OpenSim/Framework/Communications/UserManagerBase.cs +++ b/OpenSim/Framework/Communications/UserManagerBase.cs | |||
@@ -81,7 +81,7 @@ namespace OpenSim.Framework.Communications | |||
81 | public void AddPlugin(IUserData plug) | 81 | public void AddPlugin(IUserData plug) |
82 | { | 82 | { |
83 | plug.Initialise(); | 83 | plug.Initialise(); |
84 | _plugins.Add(plug.getName(), plug); | 84 | _plugins.Add(plug.Name, plug); |
85 | m_log.Info("[USERSTORAGE]: Added IUserData Interface"); | 85 | m_log.Info("[USERSTORAGE]: Added IUserData Interface"); |
86 | } | 86 | } |
87 | 87 | ||
diff --git a/OpenSim/Framework/IUserData.cs b/OpenSim/Framework/IUserData.cs index cd29816..b75a229 100644 --- a/OpenSim/Framework/IUserData.cs +++ b/OpenSim/Framework/IUserData.cs | |||
@@ -162,13 +162,13 @@ namespace OpenSim.Framework | |||
162 | /// Returns the plugin version | 162 | /// Returns the plugin version |
163 | /// </summary> | 163 | /// </summary> |
164 | /// <returns>Plugin version in MAJOR.MINOR.REVISION.BUILD format</returns> | 164 | /// <returns>Plugin version in MAJOR.MINOR.REVISION.BUILD format</returns> |
165 | string GetVersion(); | 165 | string Version {get;} |
166 | 166 | ||
167 | /// <summary> | 167 | /// <summary> |
168 | /// Returns the plugin name | 168 | /// Returns the plugin name |
169 | /// </summary> | 169 | /// </summary> |
170 | /// <returns>Plugin name, eg MySQL User Provider</returns> | 170 | /// <returns>Plugin name, eg MySQL User Provider</returns> |
171 | string getName(); | 171 | string Name {get;} |
172 | 172 | ||
173 | /// <summary> | 173 | /// <summary> |
174 | /// Initialises the plugin (artificial constructor) | 174 | /// Initialises the plugin (artificial constructor) |