public Initialize ( IServiceLocator serviceLocator ) : void | ||
serviceLocator | IServiceLocator | The service locator. |
return | void |
public void Initialize(IServiceLocator serviceLocator)
{
Argument.IsNotNull("serviceLocator", serviceLocator);
#if NET
var viewModelLocator = serviceLocator.ResolveType<IViewModelLocator>();
viewModelLocator.Register(typeof(TraceOutputControl), typeof(TraceOutputViewModel));
#endif
}
}