Returns a type object that represents a dictionary of the key and value types. A type object representing a dictionary of the key and value types.
(ScriptType keyType, ScriptType valueType)
| 1172 | /// </summary> |
| 1173 | /// <returns>A type object representing a dictionary of the key and value types.</returns> |
| 1174 | public static ScriptType MakeDictionaryType(ScriptType keyType, ScriptType valueType) |
| 1175 | { |
| 1176 | if (keyType == Null || valueType == Null) |
| 1177 | throw new ArgumentNullException(); |
| 1178 | return new ScriptType(typeof(Dictionary<,>).MakeGenericType(TypeUtils.GetType(keyType), TypeUtils.GetType(valueType))); |
| 1179 | } |
| 1180 | |
| 1181 | /// <summary> |
| 1182 | /// Searches for the specified members of the specified member type, using the specified binding constraints. |
no test coverage detected