Created
April 3, 2018 07:48
-
-
Save configureappio/f8ca50e7a93b913a18697fab5c8f8e5a to your computer and use it in GitHub Desktop.
An example of aggregating multiple interfaces to allow registration with interface segregation
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
public interface IAppSettings | |
{ | |
string ApplicationName { get; } | |
} | |
public interface ISqlConnectionSettings | |
{ | |
string SqlConnectionSting { get; } | |
} | |
public interface IOracleConnectionSettings | |
{ | |
string OracleConnectionSting { get; } | |
} | |
public interface IAppSettingsResolved : IAppSettings, ISqlConnectionSettings, IOracleConnectionSettings | |
{ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment