public SignatureFileBehaviour(IConfiguration config, ModParser parser, BrandProvider brand, AppInfoProvider info) { var section = config.GetSection("SignatureFiles"); var requestEmbed = config.GetValue <bool>("RequestEmbed", true); _files = section.Exists() ? section.Get <List <string> >() : new List <string>(); _enableRequestEmbed = requestEmbed; _parser = parser; _brand = brand; _info = info; }
/// <summary> /// Initializes a new instance of the <see cref="AppInfoController"/> class. /// </summary> public AppInfoController() { this.appInfoProvider = new AppInfoProvider(); }
private Platform() { // Instantiate all the application services. this.AppInfo = new AppInfoProvider(); }