@@ -22,11 +22,13 @@ public HandlerDescriptor(
2222 Type handlerType ,
2323 Type @params ,
2424 Type registrationType ,
25- Registration registration ,
25+ object registrationOptions ,
26+ bool allowsDynamicRegistration ,
2627 Type capabilityType ,
2728 Action disposeAction )
2829 {
2930 _disposeAction = disposeAction ;
31+ Id = Guid . NewGuid ( ) ;
3032 Method = method ;
3133 Key = key ;
3234 ImplementationType = handler . GetType ( ) ;
@@ -35,7 +37,8 @@ public HandlerDescriptor(
3537 Params = @params ;
3638 Response = Response ;
3739 RegistrationType = registrationType ;
38- Registration = registration ;
40+ RegistrationOptions = registrationOptions ;
41+ AllowsDynamicRegistration = allowsDynamicRegistration ;
3942 CapabilityType = capabilityType ;
4043
4144 var requestInterface = @params ? . GetInterfaces ( )
@@ -63,9 +66,11 @@ public HandlerDescriptor(
6366 public Type ImplementationType { get ; }
6467 public Type HandlerType { get ; }
6568
69+ public Guid Id { get ; }
6670 public bool HasRegistration => RegistrationType != null ;
6771 public Type RegistrationType { get ; }
68- public Registration Registration { get ; }
72+ public object RegistrationOptions { get ; }
73+ public bool AllowsDynamicRegistration { get ; }
6974
7075 public bool HasCapability => CapabilityType != null ;
7176 public Type CapabilityType { get ; }
0 commit comments