Skip to content

Commit

Permalink
Closes #143
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-roberts committed Jun 14, 2017
1 parent e5a0988 commit ca9bb30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions src/FeatureToggle.Shared/Internal/AppSettingsProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,6 @@ public IConfigurationRoot Configuration
_configuration = value;
}
}
//public AppSettingsProvider(IConfigurationRoot customConfig)
//{
// Configuration = customConfig;
//}

//public AppSettingsProvider()
//{
// var builder = new ConfigurationBuilder().SetBasePath(AppContext.BaseDirectory).AddJsonFile("appSettings.json");
// Configuration = builder.Build();
//}
#endif

public bool EvaluateBooleanToggleValue(IFeatureToggle toggle)
Expand Down Expand Up @@ -128,8 +118,7 @@ public DateTime EvaluateDateTimeToggleValue(IFeatureToggle toggle)

ValidateKeyExists(key);

var configValue = GetConfigValue(key);
//var configValue = GetConfigValue ConfigurationManager.AppSettings[key];
var configValue = GetConfigValue(key);

var parser = new ConfigurationDateParser();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Admin\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">ProjectJson</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">4.1.0</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">4.2.0</NuGetToolVersion>
</PropertyGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
Expand Down

0 comments on commit ca9bb30

Please sign in to comment.