GetNonGenericType() public method

No non-generic type is represented by this group.
public GetNonGenericType ( ) : Type
return System.Type
Beispiel #1
0
 public static object Call(CodeContext/*!*/ context, TypeGroup/*!*/ self, params object[] args) {
     return PythonCalls.Call(
         context,
         DynamicHelpers.GetPythonTypeFromType(self.GetNonGenericType()),
         args ?? ArrayUtils.EmptyObjects
     );
 }
Beispiel #2
0
 public static object Call(CodeContext/*!*/ context, TypeGroup/*!*/ self, [ParamDictionary]PythonDictionary kwArgs, params object[] args) {
     return PythonCalls.CallWithKeywordArgs(
         context, 
         DynamicHelpers.GetPythonTypeFromType(self.GetNonGenericType()),
         args ?? ArrayUtils.EmptyObjects,
         kwArgs ?? new PythonDictionary()
     );
 }
Beispiel #3
0
        public static PythonType GetItem(TypeGroup self, PythonTuple tuple) {
            if (tuple.__len__() == 0) {
                return DynamicHelpers.GetPythonTypeFromType(self.GetNonGenericType());
            }

            return GetItem(self, tuple._data);
        }