mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
try to use python.net as the bridge.
This commit is contained in:
40
Pythonnet.Runtime/interfaces.cs
Normal file
40
Pythonnet.Runtime/interfaces.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
// ==========================================================================
|
||||
// This software is subject to the provisions of the Zope Public License,
|
||||
// Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
|
||||
// THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
|
||||
// WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
|
||||
// FOR A PARTICULAR PURPOSE.
|
||||
// ==========================================================================
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Python.Runtime {
|
||||
|
||||
/// <summary>
|
||||
/// xxx
|
||||
/// </summary>
|
||||
|
||||
internal interface IReflectedType {
|
||||
string PythonTypeName();
|
||||
Type GetReflectedType();
|
||||
}
|
||||
|
||||
internal interface IReflectedClass : IReflectedType {
|
||||
bool IsException();
|
||||
}
|
||||
|
||||
internal interface IReflectedInterface : IReflectedType {
|
||||
|
||||
}
|
||||
|
||||
internal interface IReflectedArray : IReflectedType {
|
||||
}
|
||||
|
||||
internal interface IReflectedGenericClass : IReflectedClass {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user