The ServiceReplicator type exposes the following members.

Constructors

  NameDescription
Public methodServiceReplicator(IUnityContainer)
Constructor that takes the root container
Public methodServiceReplicator(IUnityContainer, Boolean)
Constructor that takes the root container and allows registration of default services that will be replicated

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRegisterInstance(Type, Object)
Register an instance of a type to be replicated
Public methodRegisterInstance<(Of <<'(T>)>>)(T)
Register an instance of a type to be replicated
Public methodRegisterType(Type, LifetimeManager)
Register the type with the container and keep the registration in the list for replication
Public methodRegisterType(Type, Type, LifetimeManager)
Register the type with the container and keep the registration in the list for replication
Public methodRegisterType<(Of <<'(T>)>>)(LifetimeManager)
Register the type with the container and keep the registration in the list for replication
Public methodRegisterType<(Of <<'(FromType, ToType>)>>)(LifetimeManager)
Register the type of the container and keep the registration in the list for replication
Public methodReplicateInstance(Type, Object)
Adds an instance of an existing object to be replicated to new contexts
Public methodReplicateInstance<(Of <<'(T>)>>)(T)
Replicate the instance of type T when new contexts are created
Public methodReplicateToContainer
Replicate all of the registerer services to the target container
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also