Corrected PascalCasing

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2010-10-11 13:40:00 -07:00
parent ad78925d28
commit f170d6ac4e
2 changed files with 4 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ namespace Orchard.Modules.Commands {
} }
} }
else { else {
Context.Output.WriteLine(T("Could not enable Features: {0}", string.Join(",", featureNames))); Context.Output.WriteLine(T("Could not enable features: {0}", string.Join(",", featureNames)));
listAvailableFeatures = true; listAvailableFeatures = true;
} }
if (listAvailableFeatures) if (listAvailableFeatures)

View File

@@ -144,13 +144,13 @@ namespace Orchard.Environment.Extensions.Folders {
}; };
var featureMapping = (Mapping)entity.Value; var featureMapping = (Mapping)entity.Value;
foreach (var featureEntity in featureMapping.Entities) { foreach (var featureEntity in featureMapping.Entities) {
if (String.Equals(featureEntity.Key.ToString(), "Description", StringComparison.OrdinalIgnoreCase)) { if (featureEntity.Key.ToString() == "Description") {
featureDescriptor.Description = featureEntity.Value.ToString(); featureDescriptor.Description = featureEntity.Value.ToString();
} }
else if (String.Equals(featureEntity.Key.ToString(), "Category", StringComparison.OrdinalIgnoreCase)) { else if (featureEntity.Key.ToString() == "Category") {
featureDescriptor.Category = featureEntity.Value.ToString(); featureDescriptor.Category = featureEntity.Value.ToString();
} }
else if (String.Equals(featureEntity.Key.ToString(), "Dependencies", StringComparison.OrdinalIgnoreCase)) { else if (featureEntity.Key.ToString() == "Dependencies") {
featureDescriptor.Dependencies = ParseFeatureDependenciesEntry(featureEntity.Value.ToString()); featureDescriptor.Dependencies = ParseFeatureDependenciesEntry(featureEntity.Value.ToString());
} }
} }