Class NullParserExecutionStateManager
No-op parser execution-state manager used by conservative runtime policies.
public sealed class NullParserExecutionStateManager : IParserExecutionStateManager
- Inheritance
-
NullParserExecutionStateManager
- Implements
- Inherited Members
- Extension Methods
Properties
Instance
Gets the singleton no-op parser execution-state manager instance.
public static NullParserExecutionStateManager Instance { get; }
Property Value
Methods
Capture()
Captures a non-null no-op snapshot without recording parser execution state.
public object Capture()
Returns
- object
The singleton no-op manager instance.
GetCurrentStateKey()
Gets the stable stateless memoization key for the no-op manager.
public ParserExecutionStateKey GetCurrentStateKey()
Returns
Restore(object)
Validates that a snapshot was supplied without restoring any parser execution state.
public void Restore(object snapshot)
Parameters
snapshotobjectSnapshot object to validate.