-
-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Added support for named options (#478) * Updated documentation for named options. * Added extra comment to documentation. * chore: refactor to match .NET named options patterns * chore: mark unnamed tenant options types obsolete * chore: updated docs * chore: minor docs update Co-authored-by: Andrew White <andrew@finbuckle.com>
- Loading branch information
1 parent
faeb1dd
commit 6f9528d
Showing
9 changed files
with
281 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/Finbuckle.MultiTenant/Options/ITenantConfigureNamedOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Copyright Finbuckle LLC, Andrew White, and Contributors. | ||
// Refer to the solution LICENSE file for more inforation. | ||
|
||
namespace Finbuckle.MultiTenant.Options | ||
{ | ||
public interface ITenantConfigureNamedOptions<TOptions, TTenantInfo> | ||
where TOptions : class, new() | ||
where TTenantInfo : class, ITenantInfo, new() | ||
{ | ||
void Configure(string name, TOptions options, TTenantInfo tenantInfo); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.