Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Just adding docs
  • Loading branch information
Prashanth Govindarajan committed Aug 6, 2021
commit 0177ac538c447d7c974e2d5f5c132a5ea249abe4
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,28 @@ namespace System.Runtime.Versioning
AttributeTargets.Event, Inherited = false)]
public sealed class RequiresPreviewFeaturesAttribute : Attribute
{
/// <summary>
/// Initializes a new instance of the <seealso cref="RequiresPreviewFeaturesAttribute"/> class.
/// </summary>
public RequiresPreviewFeaturesAttribute() { }

/// <summary>
/// Initializes a new instance of the <seealso cref="RequiresPreviewFeaturesAttribute"/> class with the specified message.
/// </summary>
/// <param name="message">An optional message associated with this attribute instance.</param>
public RequiresPreviewFeaturesAttribute(string? message)
{
Message = message;
}

/// <summary>
/// Returns the optional message associated with this attribute instance.
/// </summary>
public string? Message { get; }

/// <summary>
/// Returns the optional URL associated with this attribute instance.
/// </summary>
public string? Url { get; set; }
}
}