Skip to content

Commit 7e8e0ad

Browse files
committed
- v10.0.8
1 parent cc0939b commit 7e8e0ad

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Shuttle.Core.Reflection
22

33
```
4-
PM> Install-Package Shuttle.Core.Autofac
4+
PM> Install-Package Shuttle.Core.Reflection
55
```
66

77
Provides various methods to facilitate reflection handling.
@@ -62,3 +62,12 @@ IEnumerable<Type> GetTypes(Assembly assembly)
6262

6363
Returns all types in the given `assembly`.
6464

65+
``` c#
66+
IEnumerable<Type> GetTypesAssignableTo<T>()
67+
IEnumerable<Type> GetTypesAssignableTo(Type type)
68+
IEnumerable<Type> GetTypesAssignableTo<T>(Assembly assembly)
69+
IEnumerable<Type> GetTypesAssignableTo(Type type, Assembly assembly)
70+
```
71+
72+
Returns all the types in the given `assembly` that are assignable to the `type` or `typeof(T)`; if no `assembly` is provided the all assemblies returned by `GetAssemblies()` will be scanned.
73+
0 Bytes
Binary file not shown.

Shuttle.Core.Reflection/Properties/AssemblyInfo.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,18 @@
2525
[assembly: AssemblyTitle(".NET Core 2.0")]
2626
#endif
2727

28+
#if NETCOREAPP2_1
29+
[assembly: AssemblyTitle(".NET Core 2.1")]
30+
#endif
31+
2832
#if NETSTANDARD2_0
2933
[assembly: AssemblyTitle(".NET Standard 2.0")]
3034
#endif
3135

32-
[assembly: AssemblyVersion("10.0.7.0")]
36+
[assembly: AssemblyVersion("10.0.8.0")]
3337
[assembly: AssemblyCopyright("Copyright © Eben Roux 2017")]
3438
[assembly: AssemblyProduct("Shuttle.Core.Reflection")]
3539
[assembly: AssemblyCompany("Shuttle")]
3640
[assembly: AssemblyConfiguration("Release")]
37-
[assembly: AssemblyInformationalVersion("10.0.7")]
41+
[assembly: AssemblyInformationalVersion("10.0.8")]
3842
[assembly: ComVisible(false)]

Shuttle.Core.Reflection/Shuttle.Core.Reflection.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net46;net461;net462;net47;net471;netstandard2.0;netcoreapp2.0</TargetFrameworks>
4+
<TargetFrameworks>net46;net461;net462;net47;net471;netstandard2.0;netcoreapp2.0;netcoreapp2.1</TargetFrameworks>
55
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
66
</PropertyGroup>
77

@@ -13,8 +13,8 @@
1313
</ItemGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="2.0.4" />
17-
<PackageReference Include="Shuttle.Core.Logging" Version="10.0.1" />
16+
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="2.1.0" />
17+
<PackageReference Include="Shuttle.Core.Logging" Version="10.0.3" />
1818
</ItemGroup>
1919

2020
<ItemGroup>

0 commit comments

Comments
 (0)