Created
April 4, 2017 07:25
-
-
Save MongkonEiadon/e86359c96fccae5f666ea8acd37687ae to your computer and use it in GitHub Desktop.
Model mapped the configuration
This file contains hidden or 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 IBotConfiguration { | |
string AppId { get; set; } | |
string AppPasseord { get; set; } | |
} | |
public class BotConfiguration : IBotConfiguration { | |
[AppSetting("AppPassword")] | |
public string AppId { get; set; } | |
[AppSetting("AppId", "AnyDefaultValueAppId")] | |
public string AppPasseord { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment