MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
Python.Runtime.ClrPropertyInfo Class Reference

The ClrPropertyInfo specifies the clr property information. More...

Inheritance diagram for Python.Runtime.ClrPropertyInfo:
Python.Runtime.ClrMemberInfo

Public Member Functions

 ClrPropertyInfo (PropertyInfo info, PyPropetryAttribute py_info, PyConverter converter)
 The constructor. More...
 
override void SetPyObjAttr (PyObject pyObj, object clrObj)
 Sets the Python object attribute. More...
 
override void SetClrObjAttr (object clrObj, PyObject pyObj)
 Sets the clr object attribute. More...
 

Properties

PropertyInfo PropertyInfo [get]
 Return the clr Property information. More...
 

Additional Inherited Members

- Public Attributes inherited from Python.Runtime.ClrMemberInfo
string PyPropertyName
 Returns the Python property name. More...
 
IntPtr? PythonType
 Returns the Python type. More...
 
string ClrPropertyName
 Returns the clr property name. More...
 
Type ClrType
 Returns the clr type. More...
 
PyConverter Converter
 Returns the converter used. More...
 

Detailed Description

The ClrPropertyInfo specifies the clr property information.

Open-source public code originally shared from:

See also
PyConverter by Wenguang Yang, 2018

Definition at line 644 of file PyConverter.cs.

Constructor & Destructor Documentation

◆ ClrPropertyInfo()

Python.Runtime.ClrPropertyInfo.ClrPropertyInfo ( PropertyInfo  info,
PyPropetryAttribute  py_info,
PyConverter  converter 
)

The constructor.

Parameters
infoSpecifies the property information.
py_infoSpecifies the Python property information.
converterSpecifies the converter.

Definition at line 652 of file PyConverter.cs.

Member Function Documentation

◆ SetClrObjAttr()

override void Python.Runtime.ClrPropertyInfo.SetClrObjAttr ( object  clrObj,
PyObject  pyObj 
)
virtual

Sets the clr object attribute.

Parameters
clrObjSpecifies the clr object.
pyObjSpecifies the PyObject.

Implements Python.Runtime.ClrMemberInfo.

Definition at line 692 of file PyConverter.cs.

◆ SetPyObjAttr()

override void Python.Runtime.ClrPropertyInfo.SetPyObjAttr ( PyObject  pyObj,
object  clrObj 
)
virtual

Sets the Python object attribute.

Parameters
pyObjSpecifies the PyObject.
clrObjSpecifies the clr object.

Implements Python.Runtime.ClrMemberInfo.

Definition at line 680 of file PyConverter.cs.

Property Documentation

◆ PropertyInfo

PropertyInfo Python.Runtime.ClrPropertyInfo.PropertyInfo
get

Return the clr Property information.

Definition at line 669 of file PyConverter.cs.


The documentation for this class was generated from the following file: