Class ITransientExtensions
- Namespace
- Trailblazer.Support
- Assembly
- Trailblazer.dll
Extension methods for ITransient to allow calling without casting to the interface. This is purely for convenience and does not change the underlying behavior.
public static class ITransientExtensions
- Inheritance
-
ITransientExtensions
- Inherited Members
Methods
ClearTransientState(ITransient)
Clears all transient properties by resetting them to their default values.
public static void ClearTransientState(this ITransient instance)
Parameters
instanceITransient
SyncTransientState(ITransient, ITransient)
Synchronizes transient properties with another instance.
public static void SyncTransientState(this ITransient instance, ITransient other)
Parameters
instanceITransientotherITransientThe other instance to sync with.