Skip to content

Commit 11b9d3f

Browse files
committed
Documentation / Fixed Nullable property casing.
1 parent ee2f6c6 commit 11b9d3f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Returns a collection of assemblies that have their file name matching the given
1818
Task<IEnumerable<Assembly>> GetRuntimeAssembliesAsync()
1919
```
2020

21-
For .Net 4.6+ (which isn't support in the latest version) returns `AppDomain.CurrentDomain.GetAssemblies();`. For .Net Core 2.0+ all the `DependencyContext.Default.GetRuntimeAssemblyNames(RuntimeEnvironment.GetRuntimeIdentifier())` assembly names are resolved.
21+
Returns a combination of `DependencyContext.Default.GetRuntimeAssemblyNames(Environment.OSVersion.Platform.ToString())` and `AppDomain.CurrentDomain.GetAssemblies()`.
2222

2323
``` c#
2424
Task<Type> GetTypeAsync(string typeName)
@@ -34,5 +34,5 @@ Task<IEnumerable<Type>> GetTypesCastableToAsync(Type type);
3434
Task<IEnumerable<Type>> GetTypesCastableToAsync<T>(Assembly assembly);
3535
```
3636

37-
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.
37+
Returns all the types in the given `assembly` that can be cast to the `type` or `typeof(T)`; if no `assembly` is provided the all assemblies returned by `GetAssembliesAsync()` will be scanned.
3838

Shuttle.Core.Reflection/.package/package.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<repository type="git" url="https://github.com/shuttle/Shuttle.Core.Reflection.git" />
1414
<projectUrl>https://github.com/shuttle/Shuttle.Core.Reflection</projectUrl>
1515
<description>Reflection infrastructure components.</description>
16-
<copyright>Copyright (c) 2024, Eben Roux</copyright>
16+
<copyright>Copyright (c) 2025, Eben Roux</copyright>
1717
<tags>shuttle reflection</tags>
1818
<dependencies>
1919
<dependency id="Microsoft.Extensions.DependencyModel" version="8.0.2" />

Shuttle.Core.Reflection/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[assembly: AssemblyTitle(".NET Unified Platform")]
55
[assembly: AssemblyVersion("20.0.0.0")]
6-
[assembly: AssemblyCopyright("Copyright (c) 2024, Eben Roux")]
6+
[assembly: AssemblyCopyright("Copyright (c) 2025, Eben Roux")]
77
[assembly: AssemblyProduct("Shuttle.Core.Reflection")]
88
[assembly: AssemblyCompany("Eben Roux")]
99
[assembly: AssemblyConfiguration("Release")]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
55
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
6-
<nullable>enable</nullable>
6+
<Nullable>enable</Nullable>
77
</PropertyGroup>
88

99
<ItemGroup>

0 commit comments

Comments
 (0)