Catel.ExtensionsPrismModule.Initialize C# (CSharp) 메소드

Initialize() 공개 메소드

Initializes the specified service locator.
public Initialize ( IServiceLocator serviceLocator ) : void
serviceLocator IServiceLocator The service locator.
리턴 void
        public void Initialize(IServiceLocator serviceLocator)
        {
            Argument.IsNotNull("serviceLocator", serviceLocator);

            serviceLocator.RegisterTypeIfNotYetRegistered<IBootstrapperTaskFactory, BootstrapperTaskFactory>();

            serviceLocator.RegisterType<RegionAdapterMappings, RegionAdapterMappings>();
            serviceLocator.RegisterType<IUICompositionService, UICompositionService>();
        }