Changed the constructors so the two overloads have the same parameter in the same position.

This commit is contained in:
Mundairson
2018-07-16 22:06:45 +01:00
parent 2051caaa01
commit 9b5455c186

View File

@@ -3,33 +3,41 @@
namespace Umbraco.Core.CodeAnnotations
{
/// <summary>
/// Marks the program elements that Umbraco is experimenting with and could become public.
/// Marks the program elements that Umbraco is experimenting with and could
/// become public.
/// </summary>
/// <remarks>
/// <para>Indicates that Umbraco is experimenting with code that potentially could become
/// public, but we're not sure, and the code is not stable and can be refactored at any time.</para>
/// <para>The issue tracker should contain more details, discussion, and planning.</para>
/// <para>Indicates that Umbraco is experimenting with code that potentially
/// could become public, but we're not sure, and the code is not stable and
/// can be refactored at any time.</para>
/// <para>The issue tracker should contain more details, discussion, and
/// planning.</para>
/// </remarks>
[AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
internal sealed class UmbracoExperimentalFeatureAttribute : Attribute
{
/// <summary>
/// Initializes a new instance of the <see cref="UmbracoExperimentalFeatureAttribute"/> class with a description.
/// Initializes a new instance of the <see cref="UmbracoExperimentalFeatureAttribute"/>
/// class with a description.
/// </summary>
/// <param name="description">The text string that describes what is intended.</param>
/// <param name="description">The text string that describes what is
/// intended.</param>
public UmbracoExperimentalFeatureAttribute(string description)
{
/* empty */
}
/// <summary>
/// Initializes a new instance of the <see cref="UmbracoExperimentalFeatureAttribute"/> class with a tracker url and a description.
/// Initializes a new instance of the <see cref="UmbracoExperimentalFeatureAttribute"/>
/// class with a tracker url and a description.
/// </summary>
/// <param name="trackerUrl">The url of a tracker issue containing more details, discussion, and planning.</param>
/// <param name="description">The text string that describes what is intended.</param>
public UmbracoExperimentalFeatureAttribute(string trackerUrl, string description)
/// <param name="description">The text string that describes what is
/// intended.</param>
/// <param name="trackerUrl">The url of a tracker issue containing more
/// details, discussion, and planning.</param>
public UmbracoExperimentalFeatureAttribute(string description, string trackerUrl)
{
/* empty */
}
}
}