Enum PropertyStateMode
Controls whether AddPropertyState<TService>(...) keeps assigned values on the proxy only or also writes them through to the wrapped inner instance.
Namespace: FastMoq
Assembly: FastMoq.Core.dll
Syntax
public enum PropertyStateMode
Fields
| Name | Description |
|---|---|
| ProxyOnly | Preserve the proxy-backed property value without mutating the wrapped inner instance. Non-property members still forward to the wrapped instance. |
| WriteThrough | Preserve the proxy-backed property value and also assign the same value to the wrapped inner instance.
This keeps the original |