internal ComponentDescriptor(ComponentRepository componentRepository, Type type, object config, ComponentRepository privateRepository)
 {
     this.Repository           = componentRepository;
     this.Type                 = type;
     this.Name                 = ComponentDescriptor.GetComponentName(type);
     this.Config               = config;
     this.ConfigType           = config?.GetType();
     this.PrivateRepository    = privateRepository;
     this.MustCreateOnUiThread = ComponentDescriptor.GetComponentUiThreadAffinity(type, this.Repository);
 }