-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
004c48b
commit 6eb165f
Showing
4 changed files
with
156 additions
and
0 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
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,40 @@ | ||
using Microsoft.FeatureManagement; | ||
|
||
namespace Tests.FeatureManagement | ||
{ | ||
interface IAlgorithm | ||
{ | ||
public string Style { get; } | ||
} | ||
|
||
class AlgorithmBeta : IAlgorithm | ||
{ | ||
public string Style { get; set; } | ||
|
||
public AlgorithmBeta() | ||
{ | ||
Style = "Beta"; | ||
} | ||
} | ||
|
||
class AlgorithmSigma : IAlgorithm | ||
{ | ||
public string Style { get; set; } | ||
|
||
public AlgorithmSigma() | ||
{ | ||
Style = "Sigma"; | ||
} | ||
} | ||
|
||
[VariantServiceAlias("Omega")] | ||
class AlgorithmOmega : IAlgorithm | ||
{ | ||
public string Style { get; set; } | ||
|
||
public AlgorithmOmega(string name) | ||
{ | ||
Style = name; | ||
} | ||
} | ||
} |
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