mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 18:55:39 +08:00
Replace the Replaceable modules name
This commit is contained in:
@@ -160,7 +160,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController
|
||||
List<ISharedRegionModule> sharedlist = new List<ISharedRegionModule>();
|
||||
foreach (ISharedRegionModule module in m_sharedInstances)
|
||||
{
|
||||
Type replaceableInterface = module.ReplacableInterface;
|
||||
Type replaceableInterface = module.ReplaceableInterface;
|
||||
if (replaceableInterface != null)
|
||||
{
|
||||
MethodInfo mii = mi.MakeGenericMethod(replaceableInterface);
|
||||
@@ -190,7 +190,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController
|
||||
{
|
||||
INonSharedRegionModule module = (INonSharedRegionModule)Activator.CreateInstance(type);
|
||||
|
||||
Type replaceableInterface = module.ReplacableInterface;
|
||||
Type replaceableInterface = module.ReplaceableInterface;
|
||||
if (replaceableInterface != null)
|
||||
{
|
||||
MethodInfo mii = mi.MakeGenericMethod(replaceableInterface);
|
||||
@@ -226,7 +226,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController
|
||||
|
||||
foreach (ISharedRegionModule module in deferredSharedModules.Values)
|
||||
{
|
||||
Type replaceableInterface = module.ReplacableInterface;
|
||||
Type replaceableInterface = module.ReplaceableInterface;
|
||||
MethodInfo mii = mi.MakeGenericMethod(replaceableInterface);
|
||||
|
||||
if (mii.Invoke(scene, new object[0]) != null)
|
||||
@@ -247,7 +247,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController
|
||||
List<INonSharedRegionModule> deferredlist = new List<INonSharedRegionModule>();
|
||||
foreach (INonSharedRegionModule module in deferredNonSharedModules.Values)
|
||||
{
|
||||
Type replaceableInterface = module.ReplacableInterface;
|
||||
Type replaceableInterface = module.ReplaceableInterface;
|
||||
if (replaceableInterface != null)
|
||||
{
|
||||
MethodInfo mii = mi.MakeGenericMethod(replaceableInterface);
|
||||
|
||||
@@ -110,7 +110,7 @@ namespace OpenSim.Client.Linden
|
||||
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -125,7 +125,7 @@ namespace OpenSim.Client.Linden
|
||||
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -155,7 +155,7 @@ namespace OpenSim.Client.Linden
|
||||
}
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace OpenSim.Region.CoreModules.Agent.Capabilities
|
||||
get { return "Capabilities Module"; }
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -290,7 +290,7 @@ namespace OpenSim.Region.CoreModules.Asset
|
||||
get { return "CenomeMemoryAssetCache"; }
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace OpenSim.Region.CoreModules.Asset
|
||||
get { return "CoreAssetCache"; }
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -159,7 +159,7 @@ namespace Flotsam.RegionModules.AssetCache
|
||||
m_InvalidChars.AddRange(Path.GetInvalidFileNameChars());
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace OpenSim.Region.CoreModules.Asset
|
||||
// Instrumentation
|
||||
private uint m_DebugRate = 0;
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -125,7 +125,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
|
||||
{
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
|
||||
|
||||
private IHttpServer m_HttpServer = null;
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Asset
|
||||
{
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Inventory
|
||||
{
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Land
|
||||
{
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Neighbour
|
||||
{
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Simulation
|
||||
{
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Asset
|
||||
|
||||
private bool m_Enabled = false;
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Asset
|
||||
|
||||
private bool m_Enabled = false;
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Asset
|
||||
private bool m_Enabled = false;
|
||||
private IImprovedAssetCache m_Cache;
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Interregion
|
||||
{
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -113,7 +113,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Interregion
|
||||
}
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
|
||||
private ISessionAuthInventoryService m_HGService;
|
||||
|
||||
private string m_LocalGridInventoryURI = string.Empty;
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
|
||||
private bool m_Enabled = false;
|
||||
private bool m_Initialized = false;
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Inventory
|
||||
private Scene m_Scene;
|
||||
private InventoryServicesConnector m_RemoteConnector;
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Land
|
||||
|
||||
#region ISharedRegionModule
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Land
|
||||
private bool m_Enabled = false;
|
||||
private LocalLandServicesConnector m_LocalService;
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Neighbour
|
||||
|
||||
#region ISharedRegionModule
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Neighbour
|
||||
//private string serviceDll;
|
||||
//private List<Scene> m_Scenes = new List<Scene>();
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.User
|
||||
|
||||
private bool m_Enabled = false;
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.User
|
||||
|
||||
private bool m_Enabled = false;
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -159,7 +159,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain
|
||||
{
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||
{
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||
/// that the developer expects to be replaced by third party provided
|
||||
/// modules.
|
||||
/// </summary>
|
||||
Type ReplacableInterface { get; }
|
||||
Type ReplaceableInterface { get; }
|
||||
|
||||
/// <summary>
|
||||
/// This is called to initialize the region module. For shared modules, this is called
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat
|
||||
|
||||
#region INonSharedRegionModule Members
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -214,7 +214,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Concierge
|
||||
{
|
||||
}
|
||||
|
||||
new public Type ReplacableInterface
|
||||
new public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -388,7 +388,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.VivoxVoice
|
||||
VivoxLogout();
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -176,7 +176,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
||||
m_msgTransferModule = null;
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -234,7 +234,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
||||
m_clientRequestIDFlushTimer.Stop();
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Freeswitch
|
||||
{
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -220,7 +220,7 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule
|
||||
{
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return typeof(IMoneyModule); }
|
||||
}
|
||||
|
||||
@@ -207,7 +207,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
{
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
@@ -402,7 +402,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
return 0;
|
||||
}
|
||||
|
||||
public Type ReplacableInterface
|
||||
public Type ReplaceableInterface
|
||||
{
|
||||
get { return null; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user