/// <summary> /// Gets the specified <see cref="IScriptType"/>. /// </summary> /// <param name="p_strScriptTypeId">The id of the <see cref="IScriptType"/> to retrieve.</param> /// <returns>The <see cref="IScriptType"/> whose id matches the given id. <c>null</c> is returned /// if no <see cref="IScriptType"/> with the given id is in the registry.</returns> public IScriptType GetType(string p_strScriptTypeId) { IScriptType stpType = null; ScriptTypes.TryGetValue(p_strScriptTypeId, out stpType); return(stpType); }
/// <summary> /// Gets the specified <see cref="IScriptType"/>. /// </summary> /// <param name="scriptTypeId">The id of the <see cref="IScriptType"/> to retrieve.</param> /// <returns>The <see cref="IScriptType"/> whose id matches the given id. <c>null</c> is returned /// if no <see cref="IScriptType"/> with the given id is in the registry.</returns> public IScriptType GetType(string scriptTypeId) { IScriptType Type = null; ScriptTypes.TryGetValue(scriptTypeId, out Type); return(Type); }