TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType>.PushSpanConfig Method (Action<SpanBuilder, Action<SpanBuilder>>)

Pushes the span configuration.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

protected IDisposable PushSpanConfig(
	Action<SpanBuilder, Action<SpanBuilder>> newConfig
)

Parameters

newConfig
Type: System.Action<SpanBuilder, Action<SpanBuilder>>
The new configuration.

Return Value

Type: System.IDisposable
An IDisposable that shuts down the configuration.
Show: