C# Class React.Initializer

Handles initialisation of ReactJS.NET. This is only called once, at application start.
ファイルを表示 Open project: reactjs/React.NET

Public Methods

Method Description
Initialize ( RegisterOptions>.Func requestLifetimeRegistration ) : void

Intialise ReactJS.NET

Private Methods

Method Description
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

Method Details

Initialize() public static method

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 ///
return void