mirror of
https://github.com/snltty/linker.git
synced 2025-10-07 18:11:56 +08:00
18 lines
433 B
C#
18 lines
433 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace linker.libs
|
|
{
|
|
public sealed class ReflectionHelper
|
|
{
|
|
/*
|
|
public static IEnumerable<Type> GetInterfaceSchieves(Assembly[] assemblys, Type type)
|
|
{
|
|
return assemblys.SelectMany(c => c.GetTypes())
|
|
.Where(c => !c.IsAbstract).Where(c => c.GetInterfaces().Contains(type));
|
|
}
|
|
*/
|
|
}
|
|
}
|