diff options
author | Diva Canto | 2010-12-01 16:01:22 -0800 |
---|---|---|
committer | Diva Canto | 2010-12-01 16:01:22 -0800 |
commit | 7d24dbca3c85cafe182648139ab132563e3e1cdd (patch) | |
tree | 8e6573648f7bc9391f645ed05fa3449192a4d93e /OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-7d24dbca3c85cafe182648139ab132563e3e1cdd.zip opensim-SC-7d24dbca3c85cafe182648139ab132563e3e1cdd.tar.gz opensim-SC-7d24dbca3c85cafe182648139ab132563e3e1cdd.tar.bz2 opensim-SC-7d24dbca3c85cafe182648139ab132563e3e1cdd.tar.xz |
Added some comments. Better than listening to the boring speaker...
Diffstat (limited to 'OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs')
-rw-r--r-- | OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs b/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs index 5c0630c..6e8c2ee 100644 --- a/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs +++ b/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs | |||
@@ -34,8 +34,20 @@ using OpenSim.Services.Interfaces; | |||
34 | 34 | ||
35 | namespace OpenSim.Framework.Serialization.External | 35 | namespace OpenSim.Framework.Serialization.External |
36 | { | 36 | { |
37 | /// <summary> | ||
38 | /// Utilities for manipulating external representations of data structures in OpenSim | ||
39 | /// </summary> | ||
37 | public class ExternalRepresentationUtils | 40 | public class ExternalRepresentationUtils |
38 | { | 41 | { |
42 | /// <summary> | ||
43 | /// Takes a XML representation of a SceneObjectPart and returns another XML representation | ||
44 | /// with creator data added to it. | ||
45 | /// </summary> | ||
46 | /// <param name="xml">The SceneObjectPart represented in XML2</param> | ||
47 | /// <param name="profileURL">The URL of the profile service for the creator</param> | ||
48 | /// <param name="userService">The service for retrieving user account information</param> | ||
49 | /// <param name="scopeID">The scope of the user account information (Grid ID)</param> | ||
50 | /// <returns>The SceneObjectPart represented in XML2</returns> | ||
39 | public static string RewriteSOP(string xml, string profileURL, IUserAccountService userService, UUID scopeID) | 51 | public static string RewriteSOP(string xml, string profileURL, IUserAccountService userService, UUID scopeID) |
40 | { | 52 | { |
41 | if (xml == string.Empty || profileURL == string.Empty || userService == null) | 53 | if (xml == string.Empty || profileURL == string.Empty || userService == null) |