ComponentEndpointRouteBuilderExtensions.MapBlazorHub Méthode

Définition

Surcharges

MapBlazorHub(IEndpointRouteBuilder)

Mappe le Blazor Hub au chemin d’accès par défaut.

MapBlazorHub(IEndpointRouteBuilder, Action<HttpConnectionDispatcherOptions>)

Mappe le Blazor Hub au chemin d’accès par défaut.

MapBlazorHub(IEndpointRouteBuilder, String)

Mappe le Blazor Hub au chemin d’accès path.

MapBlazorHub(IEndpointRouteBuilder, String, Action<HttpConnectionDispatcherOptions>)

Mappe le Blazor Hub au chemin d’accès path.

MapBlazorHub(IEndpointRouteBuilder)

Mappe le Blazor Hub au chemin d’accès par défaut.

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

Paramètres

Retours

L’ComponentEndpointConventionBuilderopérateur

S’applique à

MapBlazorHub(IEndpointRouteBuilder, Action<HttpConnectionDispatcherOptions>)

Mappe le Blazor Hub au chemin d’accès par défaut.

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

Paramètres

configureOptions
Action<HttpConnectionDispatcherOptions>

Rappel pour configurer les options de répartiteur.

Retours

L’ComponentEndpointConventionBuilderopérateur

S’applique à

MapBlazorHub(IEndpointRouteBuilder, String)

Mappe le Blazor Hub au chemin d’accès 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

Paramètres

path
String

Chemin d’accès pour mapper le Blazor Hub.

Retours

L’ComponentEndpointConventionBuilderopérateur

S’applique à

MapBlazorHub(IEndpointRouteBuilder, String, Action<HttpConnectionDispatcherOptions>)

Mappe le Blazor Hub au chemin d’accès 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

Paramètres

path
String

Chemin d’accès pour mapper le Blazor Hub.

configureOptions
Action<HttpConnectionDispatcherOptions>

Rappel pour configurer les options de répartiteur.

Retours

L’ComponentEndpointConventionBuilderopérateur

S’applique à