Replace the Replaceable modules name

arthursv
Melanie 2009-08-10 23:08:22 +01:00
parent 17cc9b9857
commit eba23048ca
43 changed files with 46 additions and 46 deletions

View File

@ -160,7 +160,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController
List<ISharedRegionModule> sharedlist = new List<ISharedRegionModule>(); List<ISharedRegionModule> sharedlist = new List<ISharedRegionModule>();
foreach (ISharedRegionModule module in m_sharedInstances) foreach (ISharedRegionModule module in m_sharedInstances)
{ {
Type replaceableInterface = module.ReplacableInterface; Type replaceableInterface = module.ReplaceableInterface;
if (replaceableInterface != null) if (replaceableInterface != null)
{ {
MethodInfo mii = mi.MakeGenericMethod(replaceableInterface); MethodInfo mii = mi.MakeGenericMethod(replaceableInterface);
@ -190,7 +190,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController
{ {
INonSharedRegionModule module = (INonSharedRegionModule)Activator.CreateInstance(type); INonSharedRegionModule module = (INonSharedRegionModule)Activator.CreateInstance(type);
Type replaceableInterface = module.ReplacableInterface; Type replaceableInterface = module.ReplaceableInterface;
if (replaceableInterface != null) if (replaceableInterface != null)
{ {
MethodInfo mii = mi.MakeGenericMethod(replaceableInterface); MethodInfo mii = mi.MakeGenericMethod(replaceableInterface);
@ -226,7 +226,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController
foreach (ISharedRegionModule module in deferredSharedModules.Values) foreach (ISharedRegionModule module in deferredSharedModules.Values)
{ {
Type replaceableInterface = module.ReplacableInterface; Type replaceableInterface = module.ReplaceableInterface;
MethodInfo mii = mi.MakeGenericMethod(replaceableInterface); MethodInfo mii = mi.MakeGenericMethod(replaceableInterface);
if (mii.Invoke(scene, new object[0]) != null) if (mii.Invoke(scene, new object[0]) != null)
@ -247,7 +247,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController
List<INonSharedRegionModule> deferredlist = new List<INonSharedRegionModule>(); List<INonSharedRegionModule> deferredlist = new List<INonSharedRegionModule>();
foreach (INonSharedRegionModule module in deferredNonSharedModules.Values) foreach (INonSharedRegionModule module in deferredNonSharedModules.Values)
{ {
Type replaceableInterface = module.ReplacableInterface; Type replaceableInterface = module.ReplaceableInterface;
if (replaceableInterface != null) if (replaceableInterface != null)
{ {
MethodInfo mii = mi.MakeGenericMethod(replaceableInterface); MethodInfo mii = mi.MakeGenericMethod(replaceableInterface);

View File

@ -110,7 +110,7 @@ namespace OpenSim.Client.Linden
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -125,7 +125,7 @@ namespace OpenSim.Client.Linden
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -155,7 +155,7 @@ namespace OpenSim.Client.Linden
} }
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -81,7 +81,7 @@ namespace OpenSim.Region.CoreModules.Agent.Capabilities
get { return "Capabilities Module"; } get { return "Capabilities Module"; }
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -290,7 +290,7 @@ namespace OpenSim.Region.CoreModules.Asset
get { return "CenomeMemoryAssetCache"; } get { return "CenomeMemoryAssetCache"; }
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -54,7 +54,7 @@ namespace OpenSim.Region.CoreModules.Asset
get { return "CoreAssetCache"; } get { return "CoreAssetCache"; }
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -159,7 +159,7 @@ namespace Flotsam.RegionModules.AssetCache
m_InvalidChars.AddRange(Path.GetInvalidFileNameChars()); m_InvalidChars.AddRange(Path.GetInvalidFileNameChars());
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -51,7 +51,7 @@ namespace OpenSim.Region.CoreModules.Asset
// Instrumentation // Instrumentation
private uint m_DebugRate = 0; private uint m_DebugRate = 0;
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -125,7 +125,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
{ {
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -74,7 +74,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
private IHttpServer m_HttpServer = null; private IHttpServer m_HttpServer = null;
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -77,7 +77,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Asset
{ {
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -77,7 +77,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Inventory
{ {
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -81,7 +81,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Land
{ {
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -81,7 +81,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Neighbour
{ {
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -77,7 +77,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Simulation
{ {
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -52,7 +52,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Asset
private bool m_Enabled = false; private bool m_Enabled = false;
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -51,7 +51,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Asset
private bool m_Enabled = false; private bool m_Enabled = false;
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -48,7 +48,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Asset
private bool m_Enabled = false; private bool m_Enabled = false;
private IImprovedAssetCache m_Cache; private IImprovedAssetCache m_Cache;
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -92,7 +92,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Interregion
{ {
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -113,7 +113,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Interregion
} }
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -56,7 +56,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
private ISessionAuthInventoryService m_HGService; private ISessionAuthInventoryService m_HGService;
private string m_LocalGridInventoryURI = string.Empty; private string m_LocalGridInventoryURI = string.Empty;
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -52,7 +52,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
private bool m_Enabled = false; private bool m_Enabled = false;
private bool m_Initialized = false; private bool m_Initialized = false;
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -50,7 +50,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
private Scene m_Scene; private Scene m_Scene;
private InventoryServicesConnector m_RemoteConnector; private InventoryServicesConnector m_RemoteConnector;
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -60,7 +60,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Land
#region ISharedRegionModule #region ISharedRegionModule
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -49,7 +49,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Land
private bool m_Enabled = false; private bool m_Enabled = false;
private LocalLandServicesConnector m_LocalService; private LocalLandServicesConnector m_LocalService;
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -60,7 +60,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Neighbour
#region ISharedRegionModule #region ISharedRegionModule
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -51,7 +51,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Neighbour
//private string serviceDll; //private string serviceDll;
//private List<Scene> m_Scenes = new List<Scene>(); //private List<Scene> m_Scenes = new List<Scene>();
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -46,7 +46,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.User
private bool m_Enabled = false; private bool m_Enabled = false;
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -45,7 +45,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.User
private bool m_Enabled = false; private bool m_Enabled = false;
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -159,7 +159,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain
{ {
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -128,7 +128,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
{ {
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -51,7 +51,7 @@ namespace OpenSim.Region.Framework.Interfaces
/// that the developer expects to be replaced by third party provided /// that the developer expects to be replaced by third party provided
/// modules. /// modules.
/// </summary> /// </summary>
Type ReplacableInterface { get; } Type ReplaceableInterface { get; }
/// <summary> /// <summary>
/// This is called to initialize the region module. For shared modules, this is called /// This is called to initialize the region module. For shared modules, this is called

View File

@ -54,7 +54,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat
#region INonSharedRegionModule Members #region INonSharedRegionModule Members
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -214,7 +214,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Concierge
{ {
} }
new public Type ReplacableInterface new public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -388,7 +388,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
VivoxLogout(); VivoxLogout();
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -176,7 +176,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
m_msgTransferModule = null; m_msgTransferModule = null;
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -234,7 +234,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
m_clientRequestIDFlushTimer.Stop(); m_clientRequestIDFlushTimer.Stop();
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -77,7 +77,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
} }
// this module is not intended to be replaced, but there should only be 1 of them. // this module is not intended to be replaced, but there should only be 1 of them.
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -72,7 +72,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Freeswitch
{ {
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -220,7 +220,7 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule
{ {
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return typeof(IMoneyModule); } get { return typeof(IMoneyModule); }
} }

View File

@ -207,7 +207,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
{ {
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }

View File

@ -402,7 +402,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
return 0; return 0;
} }
public Type ReplacableInterface public Type ReplaceableInterface
{ {
get { return null; } get { return null; }
} }