SampleCrossUi.Blazor 1.0.0.0
SampleCrossUi.Blazor 사용 방법을 보여 주는 예제 프로젝트입니다.
로딩중...
검색중...
일치하는것 없음
Program.cs 파일 참조

이 파일의 소스 코드 페이지로 가기

함수

builder.Services. AddRazorComponents () .AddInteractiveServerComponents()
builder.Services. AddScoped< ICounterService, CounterService > ()
builder.Services. AddScoped< CounterEvent > ()
builder.Services. AddScoped< CounterViewModel > ()
builder.Services. AddScoped< LightBulbModel > ()
builder.Services. AddScoped< LightBulbEvent > ()
builder.Services. AddScoped< LightBulbViewModel > ()
builder.Services. AddScoped< ControlsEvent > ()
builder.Services. AddScoped< ControlsViewModel > ()
builder.Services. AddScoped< DreamineDialogService > ()
app. UseStaticFiles ()
app. UseAntiforgery ()
app. MapRazorComponents< App > () .AddInteractiveServerRenderMode()
app. Run ()

변수

var builder = WebApplication.CreateBuilder(args)
var app = builder.Build()

함수 문서화

◆ AddRazorComponents()

builder.Services. AddRazorComponents ( )

다음을 참조함 : builder.

◆ AddScoped< ControlsEvent >()

builder.Services. AddScoped< ControlsEvent > ( )

다음을 참조함 : builder.

◆ AddScoped< ControlsViewModel >()

builder.Services. AddScoped< ControlsViewModel > ( )

다음을 참조함 : builder.

◆ AddScoped< CounterEvent >()

builder.Services. AddScoped< CounterEvent > ( )

다음을 참조함 : builder.

◆ AddScoped< CounterViewModel >()

builder.Services. AddScoped< CounterViewModel > ( )

다음을 참조함 : builder.

◆ AddScoped< DreamineDialogService >()

builder.Services. AddScoped< DreamineDialogService > ( )

다음을 참조함 : builder.

◆ AddScoped< ICounterService, CounterService >()

builder.Services. AddScoped< ICounterService, CounterService > ( )

다음을 참조함 : builder.

◆ AddScoped< LightBulbEvent >()

builder.Services. AddScoped< LightBulbEvent > ( )

다음을 참조함 : builder.

◆ AddScoped< LightBulbModel >()

builder.Services. AddScoped< LightBulbModel > ( )

다음을 참조함 : builder.

◆ AddScoped< LightBulbViewModel >()

builder.Services. AddScoped< LightBulbViewModel > ( )

다음을 참조함 : builder.

◆ MapRazorComponents< App >()

app. MapRazorComponents< App > ( )

다음을 참조함 : app.

◆ Run()

app. Run ( )

다음을 참조함 : app.

◆ UseAntiforgery()

app. UseAntiforgery ( )

다음을 참조함 : app.

◆ UseStaticFiles()

app. UseStaticFiles ( )

다음을 참조함 : app.

변수 문서화

◆ app

var app = builder.Build()

Program.cs 파일의 23 번째 라인에서 정의되었습니다.

다음에 의해서 참조됨 : MapRazorComponents< App >(), Run(), UseAntiforgery(), UseStaticFiles().

◆ builder