Skip to content

Commit 2a7a611

Browse files
Merge pull request #2 from episerver/master
Merge from origin
2 parents 48242f9 + cc9a35d commit 2a7a611

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

DeveloperTools/Controllers/IOCController.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ public class IOCController : DeveloperToolsController
1414
public ActionResult Index()
1515
{
1616
var ie = (InitializationEngine) typeof(InitializationModule).GetField("_engine", BindingFlags.NonPublic | BindingFlags.Static).GetValue(null);
17-
var container = (IContainer) ie.GetType().GetProperty("Container", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(ie, new object[0]);
17+
18+
var services = ie.GetType().GetProperty("Services", BindingFlags.NonPublic | BindingFlags.Instance).GetValue(ie, null);
19+
var container = (IContainer) services.GetType().GetProperty("Container").GetValue(services, null);
1820

1921
var iocEntries = new List<IOCEntry>();
2022
var typeErrors = new List<string>();

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Developer Tools project
22
==============
33

4-
[Download latest build here.](https://github.com/episerver/DeveloperTools/releases)
4+
Download latest build on [NuGet](http://nuget.episerver.com/en/OtherPages/Package/?packageId=EPiServer.DeveloperTools) or [under releases](https://github.com/episerver/DeveloperTools/releases)
55

66
Experimental project to build small tools useful for developers. Install as an add-on in EPiServer CMS 7.5 (or later) using the manual upload button under Addons. When installed you must be part of the Administrators group to use the tool, a new menu "Developer" should appear in the top menu. And remember, use at your own risk - this is not a supported product.
77

@@ -12,12 +12,8 @@ Current features:
1212
* View Content Type sync state between Code and DB
1313
* Take memory dumps
1414
* View templates for content
15-
- View and test ASP.NET routes
15+
* View and test ASP.NET routes
1616
* View loaded assemblies in AppDomain
1717
* View startup time for initialization modules
1818
* View remote event statistics, provider and servers
19-
20-
21-
TODO:
22-
* Being able to group templates per content type in the "Templates"-tool
23-
* Revert to Default and Content Type Analyzer should be merged in some way, seems weird with 2 tools.
19+
* View all registered view engines

0 commit comments

Comments
 (0)