C# 클래스 Python.Runtime.PyNumber

Represents a generic Python number. The methods of this class are equivalent to the Python "abstract number API". See http://www.python.org/doc/current/api/number.html for details.
상속: PyObject
파일 보기 프로젝트 열기: fkarb/pythonnet

공개 메소드들

메소드 설명
IsNumberType ( PyObject value ) : bool

IsNumberType Method

Returns true if the given object is a Python numeric type.

보호된 메소드들

메소드 설명
PyNumber ( ) : System
PyNumber ( IntPtr ptr ) : System

메소드 상세

IsNumberType() 공개 정적인 메소드

IsNumberType Method
Returns true if the given object is a Python numeric type.
public static IsNumberType ( PyObject value ) : bool
value PyObject
리턴 bool

PyNumber() 보호된 메소드

protected PyNumber ( ) : System
리턴 System

PyNumber() 보호된 메소드

protected PyNumber ( IntPtr ptr ) : System
ptr System.IntPtr
리턴 System