| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/devtrack/pythonnet/master/src/runtime/Codecs/IPyObjectEncoder.cs | [Back] [Original] |
namespace Python.Runtime;
using System;
///
/// Defines conversion from CLR objects into Python objects (e.g. ) (marshalling)
///
public interface IPyObjectEncoder
{
///
/// Checks if encoder can encode CLR objects of specified type
///
bool CanEncode(Type type);
///
/// Attempts to encode CLR object into Python object
///
PyObject? TryEncode(object value);
}
| Web Proxy Viewer | New URL | Original Page |