2026-08-11 23:03:55 +08:00
|
|
|
namespace LanMountainDesktop.AirAppSdk;
|
2026-03-12 09:22:03 +08:00
|
|
|
|
2026-08-11 23:03:55 +08:00
|
|
|
public sealed class AirAppServiceExportRegistration
|
2026-03-12 09:22:03 +08:00
|
|
|
{
|
2026-08-11 23:03:55 +08:00
|
|
|
public AirAppServiceExportRegistration(Type contractType, Type implementationType)
|
2026-03-12 09:22:03 +08:00
|
|
|
{
|
|
|
|
|
ArgumentNullException.ThrowIfNull(contractType);
|
|
|
|
|
ArgumentNullException.ThrowIfNull(implementationType);
|
|
|
|
|
|
|
|
|
|
ContractType = contractType;
|
|
|
|
|
ImplementationType = implementationType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Type ContractType { get; }
|
|
|
|
|
|
|
|
|
|
public Type ImplementationType { get; }
|
|
|
|
|
}
|