aboutsummaryrefslogtreecommitdiff
path: root/Emby.Common.Implementations
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-19 11:51:49 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-19 11:51:49 -0500
commitbdab0a1588fa4347d168c69f803a13cf607b4166 (patch)
tree336b42433978a473f0a082c0dbf42c5996ded00e /Emby.Common.Implementations
parent52227ce00d9602e4356c0b1f91a42ab8c61b19a6 (diff)
move TypeMapper to portable project
Diffstat (limited to 'Emby.Common.Implementations')
-rw-r--r--Emby.Common.Implementations/Reflection/AssemblyInfo.cs5
-rw-r--r--Emby.Common.Implementations/project.json2
2 files changed, 7 insertions, 0 deletions
diff --git a/Emby.Common.Implementations/Reflection/AssemblyInfo.cs b/Emby.Common.Implementations/Reflection/AssemblyInfo.cs
index bd2cb7cf0..7a92f02d6 100644
--- a/Emby.Common.Implementations/Reflection/AssemblyInfo.cs
+++ b/Emby.Common.Implementations/Reflection/AssemblyInfo.cs
@@ -22,5 +22,10 @@ namespace Emby.Common.Implementations.Reflection
#endif
return type.GetTypeInfo().Assembly.GetManifestResourceNames();
}
+
+ public Assembly[] GetCurrentAssemblies()
+ {
+ return AppDomain.CurrentDomain.GetAssemblies();
+ }
}
}
diff --git a/Emby.Common.Implementations/project.json b/Emby.Common.Implementations/project.json
index b0a35bdf3..409687ea1 100644
--- a/Emby.Common.Implementations/project.json
+++ b/Emby.Common.Implementations/project.json
@@ -14,6 +14,7 @@
"System.Net.Http": "4.0.0.0",
"System.Net.Primitives": "4.0.0.0",
"System.Net.Http.WebRequest": "4.0.0.0",
+ "System.Reflection": "4.0.0.0",
"System.Runtime": "4.0.0.0",
"System.Runtime.Extensions": "4.0.0.0",
"System.Text.Encoding": "4.0.0.0",
@@ -57,6 +58,7 @@
"ServiceStack.Text.Core": "1.0.27",
"NLog": "4.4.0-betaV15",
"sharpcompress": "0.14.0",
+ "System.AppDomain": "2.0.11",
"MediaBrowser.Model": {
"target": "project"
},