Share via


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

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Pushes the span configuration.

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

Syntax

'Declaration
Protected Function PushSpanConfig ( _
    newConfig As Action(Of SpanBuilder) _
) As IDisposable
'Usage
Dim newConfig As Action(Of SpanBuilder)
Dim returnValue As IDisposable 

returnValue = Me.PushSpanConfig(newConfig)
protected IDisposable PushSpanConfig(
    Action<SpanBuilder> newConfig
)
protected:
IDisposable^ PushSpanConfig(
    Action<SpanBuilder^>^ newConfig
)
member PushSpanConfig : 
        newConfig:Action<SpanBuilder> -> IDisposable
protected function PushSpanConfig(
    newConfig : Action<SpanBuilder>
) : IDisposable

Parameters

Return Value

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

See Also

Reference

TokenizerBackedParser<TTokenizer, TSymbol, TSymbolType> Class

PushSpanConfig Overload

System.Web.Razor.Parser Namespace