From ed69e84874b710c2cc3b8af94dd00cf725cf6d03 Mon Sep 17 00:00:00 2001 From: mingchen Date: Thu, 19 Jul 2007 20:39:33 +0000 Subject: *Moved XmlConfiguration to its own project *Made it possible to load a configuration interface by DLL *Deleted the 1024 config files until they are updated --- OpenSim/Grid/AssetServer/Main.cs | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'OpenSim/Grid/AssetServer') diff --git a/OpenSim/Grid/AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs index f29a540..5a8368c 100644 --- a/OpenSim/Grid/AssetServer/Main.cs +++ b/OpenSim/Grid/AssetServer/Main.cs @@ -291,34 +291,6 @@ namespace OpenSim.Grid.AssetServer //info.loaded=true; } - /*private GridConfig LoadConfigDll(string dllName) - { - Assembly pluginAssembly = Assembly.LoadFrom(dllName); - GridConfig config = null; - - foreach (Type pluginType in pluginAssembly.GetTypes()) - { - if (pluginType.IsPublic) - { - if (!pluginType.IsAbstract) - { - Type typeInterface = pluginType.GetInterface("IGridConfig", true); - - if (typeInterface != null) - { - IGridConfig plug = (IGridConfig)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); - config = plug.GetConfigObject(); - break; - } - - typeInterface = null; - } - } - } - pluginAssembly = null; - return config; - }*/ - public void CreateAsset(LLUUID assetId, byte[] assetData) { AssetBase asset = new AssetBase(); -- cgit v1.1