mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
A little house cleaning in the ResourceManager
--HG-- branch : dev
This commit is contained in:
@@ -37,7 +37,6 @@ namespace Orchard.Mvc.Html {
|
|||||||
public string FileName { get; set; }
|
public string FileName { get; set; }
|
||||||
public string Condition { get; set; }
|
public string Condition { get; set; }
|
||||||
public string FilePathAttributeName { get; set; }
|
public string FilePathAttributeName { get; set; }
|
||||||
public IDictionary<string, string> Attributes { get { return _tagBuilder.Attributes; } }
|
|
||||||
|
|
||||||
public void AddAttribute(string name, string value) {
|
public void AddAttribute(string name, string value) {
|
||||||
_tagBuilder.MergeAttribute(name, value);
|
_tagBuilder.MergeAttribute(name, value);
|
||||||
@@ -68,7 +67,7 @@ namespace Orchard.Mvc.Html {
|
|||||||
return obj.GetType() == typeof (FileRegistrationContext) && Equals((FileRegistrationContext) obj);
|
return obj.GetType() == typeof (FileRegistrationContext) && Equals((FileRegistrationContext) obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Equals(FileRegistrationContext other) {
|
private bool Equals(FileRegistrationContext other) {
|
||||||
if (ReferenceEquals(null, other)) {
|
if (ReferenceEquals(null, other)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
using System.Web.Routing;
|
|
||||||
using JetBrains.Annotations;
|
using JetBrains.Annotations;
|
||||||
using Orchard.Localization;
|
using Orchard.Localization;
|
||||||
using Orchard.Mvc.Html;
|
using Orchard.Mvc.Html;
|
||||||
|
|||||||
Reference in New Issue
Block a user