Files
Umbraco-CMS/src/Umbraco.Web/Install/Models/InstallSetupStepAttribute.cs

34 lines
1.2 KiB
C#
Raw Normal View History

using System;
using System.Text.RegularExpressions;
namespace Umbraco.Web.Install.Models
{
public sealed class InstallSetupStepAttribute : Attribute
{
public InstallSetupStepAttribute(InstallationType installTypeTarget, string name, string view, int serverOrder, string description)
{
InstallTypeTarget = installTypeTarget;
Name = name;
View = view;
ServerOrder = serverOrder;
Description = description;
var r = new Regex("", RegexOptions.Compiled | RegexOptions.Compiled);
}
public InstallSetupStepAttribute(InstallationType installTypeTarget, string name, int serverOrder, string description)
{
InstallTypeTarget = installTypeTarget;
Name = name;
View = string.Empty;
ServerOrder = serverOrder;
2014-03-04 16:21:45 +11:00
Description = description;
}
public InstallationType InstallTypeTarget { get; private set; }
public string Name { get; private set; }
public string View { get; private set; }
public int ServerOrder { get; private set; }
public string Description { get; private set; }
}
}