Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AddShapeTableProvider() extension method #16723

Merged
merged 4 commits into from
Sep 16, 2024

Conversation

hishamco
Copy link
Member

No description provided.

/// </summary>
/// <typeparam name="TShapeProvider">The <see cref="IShapeTableProvider"/> to be registered.</typeparam>
/// <param name="services">The <see cref="IServiceCollection"/>.</param>
public static IServiceCollection AddShapeProvider<TShapeProvider>(this IServiceCollection services)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably AddShapeTableProvider so it's clear.

Copy link
Member Author

@hishamco hishamco Sep 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Believe it or not I'm not sure why it's called ShapeTableProvider.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sebastienros maybe able to provide more info on the naming. But, if you want to see an extension, it would have to be the same name as the interface

@MikeAlhayek MikeAlhayek changed the title Add AddShapeProvider() extension method Add AddShapeTableProvider() extension method Sep 16, 2024
@MikeAlhayek MikeAlhayek merged commit 17e57aa into main Sep 16, 2024
11 checks passed
@MikeAlhayek MikeAlhayek deleted the hishamco/shape-provider-extensions branch September 16, 2024 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants