Replace Method
Definition
- Namespace
- Cuemon.Extensions.Runtime
- Assemblies
- Cuemon.Extensions.Core.dll
Replace(T)
Allows for the instance on the current node to be replaced with a new instance.
public void Replace(T instance)
Parameters
instanceTThe new instance to replace the original with.
Replace(T, Type)
Allows for the instance on the current node to be replaced with a new instance.
public void Replace(T instance, Type instanceType)
Parameters
instanceTThe new instance to replace the original with.
instanceTypeTypeThe type of the new instance.