OpenSim/Region/Framework/Scenes/SceneBase.cs
/// <summary>
/// For the given interface, retrieve an array of region modules that implement it.
/// </summary>
/// <returns>an empty array if there are no registered modules implementing that interface</returns>
For the given interface, retrieve an array of region modules that implement it.
For the given interface retrieve an array of region modules that implement it .
public T[] RequestModuleInterfaces<T>()
        {
            if (ModuleInterfaces.ContainsKey(typeof(T)))
            {
                List<T> ret = new List<T>();
                foreach (Object o in ModuleInterfaces[typeof(T)])
                    ret.Add((T)o);
                return ret.ToArray();
            }
            else
            {
                return new T[] {};
            }
        }
public T [ ] RequestModuleInterfaces < T > ( ) { if ( ModuleInterfaces . ContainsKey ( typeof ( T ) ) ) { List < T > ret = new List < T > ( ) ; foreach ( Object o in ModuleInterfaces [ typeof ( T ) ] ) ret . Add ( ( T ) o ) ; return ret . ToArray ( ) ; } else { return new T [ ] { } ; } }
For the given interface, retrieve an array of region modules that implement it.
For the given interface retrieve an array of region modules that implement it .
an empty array if there are no registered modules implementing that interface
an empty array if there are no registered modules implementing that interface