Skip to content

Commit

Permalink
fix: xml docs corrections (#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewTriesToCode committed Feb 9, 2023
1 parent f8775ab commit 265d26d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Expand Up @@ -358,7 +358,7 @@ public static class FinbuckleMultiTenantBuilderExtensions
}

/// <summary>
/// Adds and configures a HeaderStrategy with tenantKey "__tenant__" to the application.
/// Adds and configures a HeaderStrategy with using HTTP header key "__tenant__" to the application.
/// </summary>
/// <returns>The same MultiTenantBuilder passed into the method.</returns>
public static FinbuckleMultiTenantBuilder<TTenantInfo> WithHeaderStrategy<TTenantInfo>(
Expand All @@ -368,10 +368,10 @@ public static class FinbuckleMultiTenantBuilderExtensions
}

/// <summary>
/// Adds and configures a Header to the application.
/// Adds and configures a HeaderStrategy to the application with a custom HTTP header key.
/// </summary>
/// <param name="builder">MultiTenantBuilder instance.</param>
/// <param name="tenantKey">The template for determining the tenant identifier in the host.</param>
/// <param name="tenantKey">The HTTP header key for determining the tenant identifier in the request.</param>
/// <returns>The same MultiTenantBuilder passed into the method.</returns>
public static FinbuckleMultiTenantBuilder<TTenantInfo> WithHeaderStrategy<TTenantInfo>(
this FinbuckleMultiTenantBuilder<TTenantInfo> builder, string tenantKey)
Expand Down
Expand Up @@ -64,7 +64,7 @@ public FinbuckleMultiTenantBuilder(IServiceCollection services)
// Handles multiplexing cached options.
Services.TryAddSingleton<IOptionsMonitorCache<TOptions>, MultiTenantOptionsCache<TOptions, TTenantInfo>>();

// Necessary to apply tenant named options in between configuration and postconfiguration
// Necessary to apply tenant named options in between configuration and post configuration
Services.AddSingleton<ITenantConfigureNamedOptions<TOptions, TTenantInfo>,
TenantConfigureNamedOptions<TOptions, TTenantInfo>>(sp => new TenantConfigureNamedOptions<TOptions,
TTenantInfo>(name, tenantConfigureNamedOptions));
Expand All @@ -87,7 +87,7 @@ private static MultiTenantOptionsManager<TOptions> BuildOptionsManager<TOptions>
/// Adds and configures a IMultiTenantStore to the application using default dependency injection.
/// </summary>>
/// <param name="lifetime">The service lifetime.</param>
/// <param name="parameters">a paramter list for any constructor paramaters not covered by dependency injection.</param>
/// <param name="parameters">a parameter list for any constructor parameters not covered by dependency injection.</param>
/// <returns>The same MultiTenantBuilder passed into the method.</returns>
public FinbuckleMultiTenantBuilder<TTenantInfo> WithStore<TStore>(ServiceLifetime lifetime,
params object[] parameters)
Expand Down Expand Up @@ -117,10 +117,10 @@ private static MultiTenantOptionsManager<TOptions> BuildOptionsManager<TOptions>
}

/// <summary>
/// Adds and configures a IMultiTenantStrategy to the applicationusing default dependency injection.
/// Adds and configures a IMultiTenantStrategy to the application using default dependency injection.
/// </summary>
/// <param name="lifetime">The service lifetime.</param>
/// <param name="parameters">a paramter list for any constructor paramaters not covered by dependency injection.</param>
/// <param name="parameters">a parameter list for any constructor parameters not covered by dependency injection.</param>
/// <returns>The same MultiTenantBuilder passed into the method.</returns>
public FinbuckleMultiTenantBuilder<TTenantInfo> WithStrategy<TStrategy>(ServiceLifetime lifetime,
params object[] parameters) where TStrategy : IMultiTenantStrategy
Expand Down

0 comments on commit 265d26d

Please sign in to comment.