FakeHost.CreateBuilder Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| CreateBuilder() |
Hiermee maakt u een exemplaar van het configureren en bouwen van IHostBuilder de host. |
| CreateBuilder(FakeHostOptions) |
Hiermee maakt u een exemplaar van het configureren en bouwen van IHostBuilder de host. |
| CreateBuilder(Action<FakeHostOptions>) |
Hiermee maakt u een exemplaar van het configureren en bouwen van IHostBuilder de host. |
CreateBuilder()
- Bron:
- FakeHost.cs
- Bron:
- FakeHost.cs
Hiermee maakt u een exemplaar van het configureren en bouwen van IHostBuilder de host.
public:
static Microsoft::Extensions::Hosting::IHostBuilder ^ CreateBuilder();
public static Microsoft.Extensions.Hosting.IHostBuilder CreateBuilder();
static member CreateBuilder : unit -> Microsoft.Extensions.Hosting.IHostBuilder
Public Shared Function CreateBuilder () As IHostBuilder
Retouren
Een exemplaar van IHostBuilder.
Van toepassing op
CreateBuilder(FakeHostOptions)
- Bron:
- FakeHost.cs
- Bron:
- FakeHost.cs
Hiermee maakt u een exemplaar van het configureren en bouwen van IHostBuilder de host.
public:
static Microsoft::Extensions::Hosting::IHostBuilder ^ CreateBuilder(Microsoft::Extensions::Hosting::Testing::FakeHostOptions ^ options);
public static Microsoft.Extensions.Hosting.IHostBuilder CreateBuilder(Microsoft.Extensions.Hosting.Testing.FakeHostOptions options);
static member CreateBuilder : Microsoft.Extensions.Hosting.Testing.FakeHostOptions -> Microsoft.Extensions.Hosting.IHostBuilder
Public Shared Function CreateBuilder (options As FakeHostOptions) As IHostBuilder
Parameters
- options
- FakeHostOptions
Een FakeHostOptions exemplaar.
Retouren
Een exemplaar van IHostBuilder.
Van toepassing op
CreateBuilder(Action<FakeHostOptions>)
- Bron:
- FakeHost.cs
- Bron:
- FakeHost.cs
Hiermee maakt u een exemplaar van het configureren en bouwen van IHostBuilder de host.
public:
static Microsoft::Extensions::Hosting::IHostBuilder ^ CreateBuilder(Action<Microsoft::Extensions::Hosting::Testing::FakeHostOptions ^> ^ configure);
public static Microsoft.Extensions.Hosting.IHostBuilder CreateBuilder(Action<Microsoft.Extensions.Hosting.Testing.FakeHostOptions> configure);
static member CreateBuilder : Action<Microsoft.Extensions.Hosting.Testing.FakeHostOptions> -> Microsoft.Extensions.Hosting.IHostBuilder
Public Shared Function CreateBuilder (configure As Action(Of FakeHostOptions)) As IHostBuilder
Parameters
- configure
- Action<FakeHostOptions>
De opties voor het configureren van het FakeHostOptions exemplaar.
Retouren
Een exemplaar van IHostBuilder.