GetNonGenericType() public method

No non-generic type is represented by this group.
public GetNonGenericType ( ) : Type
return System.Type
Ejemplo n.º 1
0
 public static object Call(CodeContext/*!*/ context, TypeGroup/*!*/ self, params object[] args) {
     return PythonCalls.Call(
         context,
         DynamicHelpers.GetPythonTypeFromType(self.GetNonGenericType()),
         args ?? ArrayUtils.EmptyObjects
     );
 }
Ejemplo n.º 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()
     );
 }
Ejemplo n.º 3
0
        public static PythonType GetItem(TypeGroup self, PythonTuple tuple) {
            if (tuple.__len__() == 0) {
                return DynamicHelpers.GetPythonTypeFromType(self.GetNonGenericType());
            }

            return GetItem(self, tuple._data);
        }