コード例 #1
0
ファイル: SubjectHost.cs プロジェクト: pangsen/SharpRemote
 public void RegisterDefaultImplementation(Type implementation, Type interfaceType)
 {
     _registry.RegisterDefaultImplementation(implementation, interfaceType);
 }
コード例 #2
0
 /// <inheritdoc />
 public void RegisterDefaultImplementation <TInterface, TImplementation>() where TInterface : class where TImplementation : TInterface
 {
     _registry.RegisterDefaultImplementation(typeof(TImplementation), typeof(TInterface));
 }