Simple application container based on IServiceProvider implementation.
For a list of all members of this type, see ApplicationContainer Members.
System.Object
System.ComponentModel.Container
NI.Winter.ApplicationContainer
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
IComponentsConfig cfg; IComponent someDotNetComponent; ApplicationContainer appContainer = new ApplicationContainer(); /*inject service provider*/ appContainer.ServiceProvider = new NI.Winter.ServiceProvider( cfg ); appContainer.Add(someDotNetComponent); /* now someDotNetComponent 'sited' and can use iterface ISite to obtain services */
Namespace: NI.Winter
Assembly: NI.Winter (in NI.Winter.dll)
ApplicationContainer Members | NI.Winter Namespace