File tree Expand file tree Collapse file tree 4 files changed +19
-6
lines changed
Expand file tree Collapse file tree 4 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 11# Shuttle.Core.Reflection
22
33```
4- PM> Install-Package Shuttle.Core.Autofac
4+ PM> Install-Package Shuttle.Core.Reflection
55```
66
77Provides various methods to facilitate reflection handling.
@@ -62,3 +62,12 @@ IEnumerable<Type> GetTypes(Assembly assembly)
6262
6363Returns 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+
Original file line number Diff line number Diff line change 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 ) ]
Original file line number Diff line number Diff line change 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
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 >
You can’t perform that action at this time.
0 commit comments