Compartilhar via


ComponentEndpointRouteBuilderExtensions.MapBlazorHub Método

Definição

Sobrecargas

MapBlazorHub(IEndpointRouteBuilder)

Mapeia o Blazor Hub para o caminho padrão.

MapBlazorHub(IEndpointRouteBuilder, Action<HttpConnectionDispatcherOptions>)

Mapeia o Blazor Hub para o caminho padrão.

MapBlazorHub(IEndpointRouteBuilder, String)

Mapeia o Blazor Hub para o caminho path.

MapBlazorHub(IEndpointRouteBuilder, String, Action<HttpConnectionDispatcherOptions>)

Mapeia o Blazor Hub para o caminho path.

MapBlazorHub(IEndpointRouteBuilder)

Origem:
ComponentEndpointRouteBuilderExtensions.cs

Mapeia o Blazor Hub para o caminho padrão.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::ComponentEndpointConventionBuilder ^ MapBlazorHub(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints);
public static Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder MapBlazorHub (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints);
static member MapBlazorHub : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder -> Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder
<Extension()>
Public Function MapBlazorHub (endpoints As IEndpointRouteBuilder) As ComponentEndpointConventionBuilder

Parâmetros

Retornos

O ComponentEndpointConventionBuilder.

Aplica-se a

MapBlazorHub(IEndpointRouteBuilder, Action<HttpConnectionDispatcherOptions>)

Origem:
ComponentEndpointRouteBuilderExtensions.cs

Mapeia o Blazor Hub para o caminho padrão.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::ComponentEndpointConventionBuilder ^ MapBlazorHub(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints, Action<Microsoft::AspNetCore::Http::Connections::HttpConnectionDispatcherOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder MapBlazorHub (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions> configureOptions);
static member MapBlazorHub : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions> -> Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder
<Extension()>
Public Function MapBlazorHub (endpoints As IEndpointRouteBuilder, configureOptions As Action(Of HttpConnectionDispatcherOptions)) As ComponentEndpointConventionBuilder

Parâmetros

configureOptions
Action<HttpConnectionDispatcherOptions>

Um retorno de chamada para configurar as opções do dispatcher.

Retornos

O ComponentEndpointConventionBuilder.

Aplica-se a

MapBlazorHub(IEndpointRouteBuilder, String)

Origem:
ComponentEndpointRouteBuilderExtensions.cs

Mapeia o Blazor Hub para o caminho path.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::ComponentEndpointConventionBuilder ^ MapBlazorHub(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints, System::String ^ path);
public static Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder MapBlazorHub (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string path);
static member MapBlazorHub : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string -> Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder
<Extension()>
Public Function MapBlazorHub (endpoints As IEndpointRouteBuilder, path As String) As ComponentEndpointConventionBuilder

Parâmetros

path
String

O caminho para mapear o Blazor Hub.

Retornos

O ComponentEndpointConventionBuilder.

Aplica-se a

MapBlazorHub(IEndpointRouteBuilder, String, Action<HttpConnectionDispatcherOptions>)

Origem:
ComponentEndpointRouteBuilderExtensions.cs

Mapeia o Blazor Hub para o caminho path.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::ComponentEndpointConventionBuilder ^ MapBlazorHub(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints, System::String ^ path, Action<Microsoft::AspNetCore::Http::Connections::HttpConnectionDispatcherOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder MapBlazorHub (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string path, Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions> configureOptions);
static member MapBlazorHub : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string * Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions> -> Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder
<Extension()>
Public Function MapBlazorHub (endpoints As IEndpointRouteBuilder, path As String, configureOptions As Action(Of HttpConnectionDispatcherOptions)) As ComponentEndpointConventionBuilder

Parâmetros

path
String

O caminho para mapear o Blazor Hub.

configureOptions
Action<HttpConnectionDispatcherOptions>

Um retorno de chamada para configurar as opções do dispatcher.

Retornos

O ComponentEndpointConventionBuilder.

Aplica-se a