diff --git a/src/Umbraco.Core/Constants-AppSettings.cs b/src/Umbraco.Core/Constants-AppSettings.cs
index ac0cbde8dead..509be46b6137 100644
--- a/src/Umbraco.Core/Constants-AppSettings.cs
+++ b/src/Umbraco.Core/Constants-AppSettings.cs
@@ -93,7 +93,6 @@ public static class AppSettings
///
public const string DisableElectionForSingleServer = "Umbraco.Core.DisableElectionForSingleServer";
-
///
/// Debug specific web.config AppSetting keys for Umbraco
///
diff --git a/src/Umbraco.Core/Constants-Applications.cs b/src/Umbraco.Core/Constants-Applications.cs
index b53a2b8eafa6..cf4f80d87bf3 100644
--- a/src/Umbraco.Core/Constants-Applications.cs
+++ b/src/Umbraco.Core/Constants-Applications.cs
@@ -145,11 +145,11 @@ public static class Trees
public const string PartialViewMacros = "partialViewMacros";
- public const string LogViewer = "logViewer";
+ public const string LogViewer = "logViewer";
public static class Groups
{
- public const string Settings = "settingsGroup";
+ public const string Settings = "settingsGroup";
public const string Templating = "templatingGroup";
diff --git a/src/Umbraco.Core/Constants-Conventions.cs b/src/Umbraco.Core/Constants-Conventions.cs
index d49244d9f9ef..6c9407667ae2 100644
--- a/src/Umbraco.Core/Constants-Conventions.cs
+++ b/src/Umbraco.Core/Constants-Conventions.cs
@@ -92,10 +92,10 @@ public static class Media
///
public const string Extension = "umbracoExtension";
- ///
- /// The default height/width of an image file if the size can't be determined from the metadata
- ///
- public const int DefaultSize = 200;
+ ///
+ /// The default height/width of an image file if the size can't be determined from the metadata
+ ///
+ public const int DefaultSize = 200;
}
///
@@ -209,71 +209,71 @@ public static class Member
public static Dictionary GetStandardPropertyTypeStubs()
{
return new Dictionary
+ {
{
+ Comments,
+ new PropertyType(PropertyEditors.Aliases.TextArea, ValueStorageType.Ntext, true, Comments)
{
- Comments,
- new PropertyType(PropertyEditors.Aliases.TextArea, ValueStorageType.Ntext, true, Comments)
- {
- Name = CommentsLabel
- }
- },
+ Name = CommentsLabel
+ }
+ },
+ {
+ FailedPasswordAttempts,
+ new PropertyType(PropertyEditors.Aliases.Label, ValueStorageType.Integer, true, FailedPasswordAttempts)
{
- FailedPasswordAttempts,
- new PropertyType(PropertyEditors.Aliases.Label, ValueStorageType.Integer, true, FailedPasswordAttempts)
- {
- Name = FailedPasswordAttemptsLabel
- }
- },
+ Name = FailedPasswordAttemptsLabel
+ }
+ },
+ {
+ IsApproved,
+ new PropertyType(PropertyEditors.Aliases.Boolean, ValueStorageType.Integer, true, IsApproved)
{
- IsApproved,
- new PropertyType(PropertyEditors.Aliases.Boolean, ValueStorageType.Integer, true, IsApproved)
- {
- Name = IsApprovedLabel
- }
- },
+ Name = IsApprovedLabel
+ }
+ },
+ {
+ IsLockedOut,
+ new PropertyType(PropertyEditors.Aliases.Boolean, ValueStorageType.Integer, true, IsLockedOut)
{
- IsLockedOut,
- new PropertyType(PropertyEditors.Aliases.Boolean, ValueStorageType.Integer, true, IsLockedOut)
- {
- Name = IsLockedOutLabel
- }
- },
+ Name = IsLockedOutLabel
+ }
+ },
+ {
+ LastLockoutDate,
+ new PropertyType(PropertyEditors.Aliases.Label, ValueStorageType.Date, true, LastLockoutDate)
{
- LastLockoutDate,
- new PropertyType(PropertyEditors.Aliases.Label, ValueStorageType.Date, true, LastLockoutDate)
- {
- Name = LastLockoutDateLabel
- }
- },
+ Name = LastLockoutDateLabel
+ }
+ },
+ {
+ LastLoginDate,
+ new PropertyType(PropertyEditors.Aliases.Label, ValueStorageType.Date, true, LastLoginDate)
{
- LastLoginDate,
- new PropertyType(PropertyEditors.Aliases.Label, ValueStorageType.Date, true, LastLoginDate)
- {
- Name = LastLoginDateLabel
- }
- },
+ Name = LastLoginDateLabel
+ }
+ },
+ {
+ LastPasswordChangeDate,
+ new PropertyType(PropertyEditors.Aliases.Label, ValueStorageType.Date, true, LastPasswordChangeDate)
{
- LastPasswordChangeDate,
- new PropertyType(PropertyEditors.Aliases.Label, ValueStorageType.Date, true, LastPasswordChangeDate)
- {
- Name = LastPasswordChangeDateLabel
- }
- },
+ Name = LastPasswordChangeDateLabel
+ }
+ },
+ {
+ PasswordAnswer,
+ new PropertyType(PropertyEditors.Aliases.Label, ValueStorageType.Nvarchar, true, PasswordAnswer)
{
- PasswordAnswer,
- new PropertyType(PropertyEditors.Aliases.Label, ValueStorageType.Nvarchar, true, PasswordAnswer)
- {
- Name = PasswordAnswerLabel
- }
- },
+ Name = PasswordAnswerLabel
+ }
+ },
+ {
+ PasswordQuestion,
+ new PropertyType(PropertyEditors.Aliases.Label, ValueStorageType.Nvarchar, true, PasswordQuestion)
{
- PasswordQuestion,
- new PropertyType(PropertyEditors.Aliases.Label, ValueStorageType.Nvarchar, true, PasswordQuestion)
- {
- Name = PasswordQuestionLabel
- }
+ Name = PasswordQuestionLabel
}
- };
+ }
+ };
}
}
diff --git a/src/Umbraco.Core/Constants-Icons.cs b/src/Umbraco.Core/Constants-Icons.cs
index f74b44b70bb0..d3e8b4ad3be5 100644
--- a/src/Umbraco.Core/Constants-Icons.cs
+++ b/src/Umbraco.Core/Constants-Icons.cs
@@ -1,17 +1,9 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Umbraco.Core
+namespace Umbraco.Core
{
public static partial class Constants
{
public static class Icons
{
-
-
///
/// System contenttype icon
///
@@ -42,12 +34,10 @@ public static class Icons
///
public const string MemberType = "icon-users";
-
///
/// System member icon
///
public const string Template = "icon-layout";
-
}
}
}
diff --git a/src/Umbraco.Core/Constants-Indexes.cs b/src/Umbraco.Core/Constants-Indexes.cs
index c73a170b6239..1add0f721b94 100644
--- a/src/Umbraco.Core/Constants-Indexes.cs
+++ b/src/Umbraco.Core/Constants-Indexes.cs
@@ -1,7 +1,4 @@
-using System;
-using System.ComponentModel;
-
-namespace Umbraco.Core
+namespace Umbraco.Core
{
public static partial class Constants
{
diff --git a/src/Umbraco.Core/Constants-ObjectTypes.cs b/src/Umbraco.Core/Constants-ObjectTypes.cs
index 4bf944e1e1b2..9a6a1a063283 100644
--- a/src/Umbraco.Core/Constants-ObjectTypes.cs
+++ b/src/Umbraco.Core/Constants-ObjectTypes.cs
@@ -123,7 +123,6 @@ public static class Strings
public static readonly Guid Template = new Guid(Strings.Template);
public static readonly Guid ContentItem = new Guid(Strings.ContentItem);
-
}
}
}
diff --git a/src/Umbraco.Core/Constants-PackageRepository.cs b/src/Umbraco.Core/Constants-PackageRepository.cs
index 59005b3e2c81..42cf61f9823a 100644
--- a/src/Umbraco.Core/Constants-PackageRepository.cs
+++ b/src/Umbraco.Core/Constants-PackageRepository.cs
@@ -3,7 +3,7 @@
public static partial class Constants
{
///
- /// Defines the constants used for the Umbraco package repository
+ /// Defines the constants used for the Umbraco package repository
///
public static class PackageRepository
{
diff --git a/src/Umbraco.Core/Constants-PropertyEditors.cs b/src/Umbraco.Core/Constants-PropertyEditors.cs
index 32f94076169c..0c2e246721c2 100644
--- a/src/Umbraco.Core/Constants-PropertyEditors.cs
+++ b/src/Umbraco.Core/Constants-PropertyEditors.cs
@@ -34,7 +34,6 @@ public static class Aliases
///
public const string ContentPicker = "Umbraco.ContentPicker";
-
///
/// DateTime.
///
diff --git a/src/Umbraco.Core/Constants-Web.cs b/src/Umbraco.Core/Constants-Web.cs
index 0da5431e91d6..64216ba57178 100644
--- a/src/Umbraco.Core/Constants-Web.cs
+++ b/src/Umbraco.Core/Constants-Web.cs
@@ -1,7 +1,4 @@
-using System;
-using System.ComponentModel;
-
-namespace Umbraco.Core
+namespace Umbraco.Core
{
public static partial class Constants
{
@@ -22,7 +19,6 @@ public static class Web
public const string PreviewCookieName = "UMB_PREVIEW";
public const string InstallerCookieName = "umb_installId";
-
}
}
}
diff --git a/src/Umbraco.Core/Persistence/Constants-DatabaseSchema.cs b/src/Umbraco.Core/Persistence/Constants-DatabaseSchema.cs
index b62a99ce83d5..272158551d0b 100644
--- a/src/Umbraco.Core/Persistence/Constants-DatabaseSchema.cs
+++ b/src/Umbraco.Core/Persistence/Constants-DatabaseSchema.cs
@@ -69,7 +69,7 @@ public static class Tables
public const string Tag = /*TableNamePrefix*/ "cms" + "Tags";
public const string TagRelationship = /*TableNamePrefix*/ "cms" + "TagRelationship";
-
+
public const string KeyValue = TableNamePrefix + "KeyValue";
public const string AuditEntry = TableNamePrefix + "Audit";
diff --git a/src/Umbraco.Core/UdiEntityType.cs b/src/Umbraco.Core/UdiEntityType.cs
index 86197ce6a855..75a137bd2e48 100644
--- a/src/Umbraco.Core/UdiEntityType.cs
+++ b/src/Umbraco.Core/UdiEntityType.cs
@@ -20,7 +20,7 @@ public static class UdiEntityType
internal static Dictionary GetTypes()
{
- return new Dictionary
+ return new Dictionary
{
{ Unknown, UdiType.Unknown },