Core.Strings - resharp
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using Umbraco.Core.Models;
|
||||
|
||||
|
||||
@@ -43,9 +43,6 @@ namespace Umbraco.Core.Strings
|
||||
// ValidStringCharacters = ValidStringCharactersSource.ToCharArray();
|
||||
//}
|
||||
|
||||
public DefaultShortStringHelper()
|
||||
{ }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Configuration
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Globalization;
|
||||
using Umbraco.Core.Models;
|
||||
|
||||
namespace Umbraco.Core.Strings
|
||||
|
||||
@@ -118,7 +118,7 @@ function isSafeAlias(alias) {{
|
||||
// check for camel (if previous character is a space, we'll upper case the current one
|
||||
if (safeString.Length == 0 && invalidFirstCharacters.Contains(currentChar.ToLower()))
|
||||
{
|
||||
currentChar = "";
|
||||
//currentChar = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
using Umbraco.Core.ObjectResolution;
|
||||
using Umbraco.Core.ObjectResolution;
|
||||
|
||||
namespace Umbraco.Core.Strings
|
||||
{
|
||||
@@ -35,7 +32,7 @@ namespace Umbraco.Core.Strings
|
||||
/// </summary>
|
||||
public IEnumerable<IUrlSegmentProvider> Providers
|
||||
{
|
||||
get { return this.Values; }
|
||||
get { return Values; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -168,7 +168,7 @@ namespace Umbraco.Web.Routing
|
||||
LogHelper.Debug<PublishedContentRequestEngine>("{0}Uri=\"{1}\"", () => tracePrefix, () => _pcr.Uri);
|
||||
|
||||
// try to find a domain matching the current request
|
||||
var domainAndUri = DomainHelper.DomainMatch(Domain.GetDomains(), _pcr.Uri, false);
|
||||
var domainAndUri = DomainHelper.DomainMatch(Domain.GetDomains().ToArray(), _pcr.Uri, false);
|
||||
|
||||
// handle domain
|
||||
if (domainAndUri != null)
|
||||
@@ -218,7 +218,7 @@ namespace Umbraco.Web.Routing
|
||||
var nodePath = _pcr.PublishedContent.Path;
|
||||
LogHelper.Debug<PublishedContentRequestEngine>("{0}Path=\"{1}\"", () => tracePrefix, () => nodePath);
|
||||
var rootNodeId = _pcr.HasDomain ? _pcr.Domain.RootNodeId : (int?)null;
|
||||
var domain = DomainHelper.LookForWildcardDomain(Domain.GetDomains(), nodePath, rootNodeId);
|
||||
var domain = DomainHelper.LookForWildcardDomain(Domain.GetDomains().ToArray(), nodePath, rootNodeId);
|
||||
|
||||
if (domain != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user