Skip to main content

Class HostBuilderExtensions

Namespace: VelloSharp.Windows.Hosting
Assembly: VelloSharp.WinUI.dll

public static class HostBuilderExtensions

Inheritance

objectHostBuilderExtensions

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Methods

AddVelloSharpWinUI(IServiceCollection, Action<VelloWinUIOptions>?)

public static IServiceCollection AddVelloSharpWinUI(this IServiceCollection services, Action<VelloWinUIOptions>? configure = null)

Parameters

services IServiceCollection

configure Action<VelloWinUIOptions>?

Returns

IServiceCollection

UseVelloSharpWinUI(IHostBuilder, Action<VelloWinUIOptions>?)

public static IHostBuilder UseVelloSharpWinUI(this IHostBuilder builder, Action<VelloWinUIOptions>? configure = null)

Parameters

builder IHostBuilder

configure Action<VelloWinUIOptions>?

Returns

IHostBuilder