FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonnet/src/runtime/Codecs/IPyObjectEncoder.cs at v3.2.0-rc2 · pythonnet/pythonnet · GitHub
pythonnet
pythonnet
Repository navigation
Code
Issues
147
(147)
Pull requests
11
(11)
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonnet
/
src
/
runtime
/
Codecs
/
IPyObjectEncoder.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (16 loc) · 506 Bytes
Breadcrumbs
pythonnet
/
src
/
runtime
/
Codecs
/
IPyObjectEncoder.cs
Copy path
File metadata and controls
18 lines (16 loc) · 506 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace
Python
.
Runtime
;
using
System
;
/// <summary>
/// Defines conversion from CLR objects into Python objects (e.g. <see cref="PyObject"/>) (marshalling)
/// </summary>
public
interface
IPyObjectEncoder
{
/// <summary>
/// Checks if encoder can encode CLR objects of specified type
/// </summary>
bool
CanEncode
(
Type
type
)
;
/// <summary>
/// Attempts to encode CLR object <paramref name="value"/> into Python object
/// </summary>
PyObject
?
TryEncode
(
object
value
)
;
}
Back
|
FazBrowse Home
|
New Git URL