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:09:03 +01:00
parent 9b5455c186
commit e17d2fbfc0

View File

@@ -6,31 +6,39 @@ namespace Umbraco.Core.CodeAnnotations
/// Marks the program elements that Umbraco is considering making public.
/// </summary>
/// <remarks>
/// <para>Indicates that Umbraco considers making the (currently internal) program element public
/// at some point in the future, but the decision is not fully made yet and is still pending reviews.</para>
/// <para>Note that it is not a commitment to make the program element public. It may not ever become public.</para>
/// <para>The issue tracker should contain more details, discussion, and planning.</para>
/// <para>Indicates that Umbraco considers making the (currently internal)
/// program element public at some point in the future, but the decision is
/// not fully made yet and is still pending reviews.</para>
/// <para>Note that it is not a commitment to make the program element public.
/// It may not ever become public.</para>
/// <para>The issue tracker should contain more details, discussion, and
/// planning.</para>
/// </remarks>
[AttributeUsage(AttributeTargets.All, AllowMultiple=false, Inherited=false)]
[AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
internal sealed class UmbracoProposedPublicAttribute : Attribute
{
/// <summary>
/// Initializes a new instance of the <see cref="UmbracoProposedPublicAttribute"/> class with a description.
/// Initializes a new instance of the <see cref="UmbracoProposedPublicAttribute"/>
/// 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 UmbracoProposedPublicAttribute(string description)
{
/* empty */
}
/// <summary>
/// Initializes a new instance of the <see cref="UmbracoProposedPublicAttribute"/> class with a tracker url and a description.
/// Initializes a new instance of the <see cref="UmbracoProposedPublicAttribute"/>
/// 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 UmbracoProposedPublicAttribute(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 UmbracoProposedPublicAttribute(string description, string trackerUrl)
{
/* empty */
}
}
}