mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
18 lines
487 B
C#
18 lines
487 B
C#
namespace LanMountainDesktop.PluginSdk;
|
|
|
|
public sealed class PluginServiceExportRegistration
|
|
{
|
|
public PluginServiceExportRegistration(Type contractType, Type implementationType)
|
|
{
|
|
ArgumentNullException.ThrowIfNull(contractType);
|
|
ArgumentNullException.ThrowIfNull(implementationType);
|
|
|
|
ContractType = contractType;
|
|
ImplementationType = implementationType;
|
|
}
|
|
|
|
public Type ContractType { get; }
|
|
|
|
public Type ImplementationType { get; }
|
|
}
|