C# 클래스 React.Initializer

Handles initialisation of ReactJS.NET. This is only called once, at application start.
파일 보기 프로젝트 열기: reactjs/React.NET

공개 메소드들

메소드 설명
Initialize ( RegisterOptions>.Func requestLifetimeRegistration ) : void

Intialise ReactJS.NET

비공개 메소드들

메소드 설명
InitializeIoC ( RegisterOptions>.Func requestLifetimeRegistration ) : void

Initialises the IoC container by finding all IAssemblyRegistration implementations and calling their IAssemblyRegistration.Register methods.

IsComponentRegistration ( Type type ) : bool

Determines whether the specified type is an assembly registration class

IsReactAssembly ( Assembly assembly ) : bool

Determines if the specified assembly is part of ReactJS.NET

IsReactAssembly ( string assemblyName ) : bool

Determines if the specified assembly is part of ReactJS.NET

메소드 상세

Initialize() 공개 정적인 메소드

Intialise ReactJS.NET
public static Initialize ( RegisterOptions>.Func requestLifetimeRegistration ) : void
requestLifetimeRegistration RegisterOptions>.Func /// A function used to register IoC components with a per-request lifetime ///
리턴 void