* PROTIP: It helps to know what your doing when playing with reflection.

afrisby
Adam Frisby 2007-07-15 17:32:54 +00:00
parent 813cdd0c80
commit aebd58d75e
2 changed files with 9 additions and 12 deletions

View File

@ -37,8 +37,6 @@ namespace OpenSim.Region.Environment
foreach (Type pluginType in pluginAssembly.GetTypes()) foreach (Type pluginType in pluginAssembly.GetTypes())
{ {
if (pluginType.IsPublic) if (pluginType.IsPublic)
{
if (!pluginType.IsAbstract)
{ {
Type typeInterface = pluginType.GetInterface("IRegionDataStore", true); Type typeInterface = pluginType.GetInterface("IRegionDataStore", true);
@ -53,7 +51,6 @@ namespace OpenSim.Region.Environment
typeInterface = null; typeInterface = null;
} }
} }
}
pluginAssembly = null; pluginAssembly = null;

View File

@ -10,7 +10,7 @@ using libsecondlife;
namespace OpenSim.DataStore.NullStorage namespace OpenSim.DataStore.NullStorage
{ {
class NullDataStore : IRegionDataStore public class NullDataStore : IRegionDataStore
{ {
public void Initialise(string dbfile, string dbname) public void Initialise(string dbfile, string dbname)
{ {