The IServiceReplicator type exposes the following members.

Methods

  NameDescription
Public methodRegisterInstance(Type, Object)
Register an instance to be replicated
Public methodRegisterInstance<(Of <<'(T>)>>)(T)
Register an instance that will be replicated
Public methodRegisterType(Type, LifetimeManager)
Register type to replicate
Public methodRegisterType(Type, Type, LifetimeManager)
Register type to replicate
Public methodRegisterType<(Of <<'(T>)>>)(LifetimeManager)
Regiter type to replicate
Public methodRegisterType<(Of <<'(FromType, ToType>)>>)(LifetimeManager)
Register type to replicate
Public methodReplicateToContainer
Replicate all of the registered instances to the container

See Also