Files
jellyfin-jellyfin-1/Emby.Common.Implementations/Reflection/AssemblyInfo.cs

26 lines
646 B
C#
Raw Normal View History

2016-10-26 02:01:42 -04:00
using System;
using System.IO;
using MediaBrowser.Model.Reflection;
2016-11-03 18:34:16 -04:00
using System.Reflection;
2016-10-26 02:01:42 -04:00
2016-11-03 18:34:16 -04:00
namespace Emby.Common.Implementations.Reflection
2016-10-26 02:01:42 -04:00
{
public class AssemblyInfo : IAssemblyInfo
{
public Stream GetManifestResourceStream(Type type, string resource)
{
return type.Assembly.GetManifestResourceStream(resource);
}
2016-11-04 04:31:05 -04:00
public string[] GetManifestResourceNames(Type type)
{
return type.Assembly.GetManifestResourceNames();
}
2016-11-19 11:51:49 -05:00
public Assembly[] GetCurrentAssemblies()
{
return AppDomain.CurrentDomain.GetAssemblies();
}
2016-10-26 02:01:42 -04:00
}
}