mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Corrected PascalCasing
--HG-- branch : dev
This commit is contained in:
@@ -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)
|
||||||
|
@@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user