Set component in decorated by identity.
identity of factory.
factory that is to be saved in decorated.
Return: SwitchableContainer!T decorating decorated.
See Implementation
Set component in decorated by identity.