mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-08-19 12:33:23 +08:00
14 lines
414 B
C#
14 lines
414 B
C#
|
|
namespace LanMountainDesktop.AirAppSdk;
|
||
|
|
|
||
|
|
public interface IAirAppExportRegistry
|
||
|
|
{
|
||
|
|
IReadOnlyList<AirAppServiceExportDescriptor> GetExports();
|
||
|
|
|
||
|
|
IReadOnlyList<AirAppServiceExportDescriptor> GetExports(Type contractType);
|
||
|
|
|
||
|
|
AirAppServiceExportDescriptor? GetExport(Type contractType, string providerAirAppId);
|
||
|
|
|
||
|
|
TContract? GetExport<TContract>(string providerAirAppId)
|
||
|
|
where TContract : class;
|
||
|
|
}
|