Skip to content

Commit 2884a61

Browse files
authored
Merge pull request #2 from asynchandler/develop
fix xml documentation
2 parents f9755ed + 4b9d188 commit 2884a61

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

AsyncHandler.Assembly/AsyncHandler.Assembly.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
6+
<GenerateDocumentationFile>True</GenerateDocumentationFile>
67
</PropertyGroup>
78

89
</Project>

AsyncHandler.Assembly/TDiscover.cs

+6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
namespace AsyncHandler.Asse;
22

33
using System.Reflection;
4+
/// <summary>
5+
/// Helper methods to find your type
6+
/// </summary>
47
public static class TDiscover
58
{
9+
/// <summary>
10+
/// Exclude assemblies to enhance performance
11+
/// </summary>
612
public static IEnumerable<string> ExcludedAssemblies => ["Microsoft", "System", "Swashbuckle"];
713
/// <summary>
814
/// Searches through the provided assembly.

AsyncHandler.Assembly/TypeExtensions.cs

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
namespace AsyncHandler.Asse;
22

33
using System.Reflection;
4+
/// <summary>
5+
/// Helper methods to find your type
6+
/// </summary>
47
public static class TypeExtensions
58
{
69

710
/// <summary>
811
/// Searches through the provided assembly.
912
/// </summary>
1013
/// <param name="assembly">The assembly to search through.</param>
11-
/// <typeparam name="T">The type to search for.</typeparam>
14+
/// <param name="type">The type to search for.</param>
1215
/// <returns>A Type if one is found or null otherwise</returns>
1316
public static Type? FindByAsse(this Type type, Assembly assembly)
1417
{
@@ -20,7 +23,7 @@ public static class TypeExtensions
2023
/// caller results in significant performance gains compared to AppDomain.
2124
/// </summary>
2225
/// <param name="caller">Calling assembly i.e. Assembly.GetCallingAssembly().</param>
23-
/// <typeparam name="T">The type to search for a match.</typeparam>
26+
/// <param name="type">The type to search for.</param>
2427
/// <returns>A Type if one is found or null otherwise</returns>
2528
public static Type? FindByCallingAsse(this Type type, Assembly caller)
2629
{
@@ -42,8 +45,8 @@ public static class TypeExtensions
4245
/// type parameter.
4346
/// use this when you have multiple matches and use the type arugment for an exact match.
4447
/// </summary>
48+
/// <param name="type">The type argument to search for.</param>
4549
/// <param name="typeName">The type argument to search for.</param>
46-
/// <typeparam name="T">The type parameter to search for a match.</typeparam>
4750
/// <returns>A Type if there is a match or null otherwise</returns>
4851
public static Type? FindByTypeName(this Type type, string typeName)
4952
{

Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<!-- <LangVersion>13</LangVersion> -->
66
<!-- <GeneratePackageOnBuild>true</GeneratePackageOnBuild> -->
7-
<Version>1.0.1</Version>
7+
<Version>1.0.2</Version>
88
<Authors>asynchandler</Authors>
99
<Company>asynchandler</Company>
1010
<PackageTags>Assembly;Type;Reflection;Extensions;AppDomain;EventSourcing</PackageTags>

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AsyncHandler.Assembly
2-
### .Net type discovery and assembly scanning made simplified.
2+
### A .Net library that helps making type discovery faster and simplified.
33

44
[![Github follow](https://img.shields.io/badge/follow-asynchandler-bf9136?logo=github)](https://github.com/asynchandler)
55
[![Github follow](https://img.shields.io/badge/follow-eventsourcer-bf9136?logo=github)](https://github.com/eventsourcer)
@@ -12,7 +12,7 @@
1212
</div>
1313

1414
### Overview
15-
`AsyncHandler.Assembly` helps simplifying type discovery overhead when searching through .Net assemblies with a bunch of helpful methods to speed up your development.
15+
`AsyncHandler.Assembly` simplifies type discovery overhead when searching through .Net assemblies with a bunch of helpful methods to speed up your development.
1616

1717
### Prerequisities
1818
[![My Skills](https://skillicons.dev/icons?i=dotnet)](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)

0 commit comments

Comments
 (0)