|
using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.Regions;
namespace RehostedDesigner.XamlViewModule
{
public class StandardXamlViewModule : IModule
{
private readonly IRegionManager _regionManager;
private readonly StandardXamlView _view;
public StandardXamlViewModule(IRegionManager regionManager, StandardXamlView view)
{
this._regionManager = regionManager;
this._view = view;
}
public void Initialize()
{
this._regionManager.RegisterViewWithRegion("DesignerXamlRegion", () => _view);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.