Skip to content

Commit 7a56711

Browse files
chore: add XML Doc Comment for IServiceCollection.AddEntity
1 parent 3e1a7ad commit 7a56711

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/EntityDb.Common/Extensions/IServiceCollectionExtensions.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ public static void AddAuthorizedEntityAuthorizingStrategy<TEntity>(this IService
115115
.AddSingleton<IAuthorizingStrategy<TEntity>, AuthorizedEntityAuthorizingStrategy<TEntity>>();
116116
}
117117

118+
/// <summary>
119+
/// Adds implementations of commonly needed interfaces.
120+
/// </summary>
121+
/// <param name="serviceCollection">The service collection.</param>
122+
/// <typeparam name="TEntity">The type of the entity.</typeparam>
123+
/// <typeparam name="TConstructingStrategy">The constructing strategy for the entity.</typeparam>
118124
public static void AddEntity<TEntity, TConstructingStrategy>(this IServiceCollection serviceCollection)
119125
where TEntity : IVersionedEntity<TEntity>
120126
where TConstructingStrategy : class, IConstructingStrategy<TEntity>

0 commit comments

Comments
 (0)