FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonnet/src/runtime/StateSerialization/ImportHookState.cs at master · morbitz/pythonnet · GitHub
morbitz
pythonnet
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonnet
/
src
/
runtime
/
StateSerialization
/
ImportHookState.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (13 loc) · 539 Bytes
Breadcrumbs
pythonnet
/
src
/
runtime
/
StateSerialization
/
ImportHookState.cs
Copy path
File metadata and controls
16 lines (13 loc) · 539 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
using
System
;
using
System
.
Collections
.
Generic
;
namespace
Python
.
Runtime
.
StateSerialization
;
// Workaround for the lack of required properties: https://github.com/dotnet/csharplang/issues/3630
// Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
#pragma warning disable
CS8618
[
Serializable
]
internal
class
ImportHookState
{
public
PyModule
PyCLRModule
{
get
;
init
;
}
public
PyObject
Root
{
get
;
init
;
}
public
Dictionary
<
PyString
,
PyObject
>
Modules
{
get
;
init
;
}
}
Back
|
FazBrowse Home
|
New Git URL