Skip to main content

UnstableAttribute Class

Definition

Assembly:Avalonia.Base
Package:Avalonia

This API is unstable and is not covered by API compatibility guarantees between minor and patch releases.

public class UnstableAttribute

Inheritance: Attribute -> UnstableAttribute

Constructors

NameDescription
UnstableAttribute (2 overloads)Initializes a new instance of the Avalonia.Metadata.UnstableAttribute class.

UnstableAttribute overloads

UnstableAttribute Constructor

Initializes a new instance of the Avalonia.Metadata.UnstableAttribute class.

public UnstableAttribute()

UnstableAttribute Constructor

Initializes a new instance of the Avalonia.Metadata.UnstableAttribute class.

public UnstableAttribute(string message)
Parameters

message string

The text string that describes alternative workarounds.

Properties

NameDescription
MessageGets a value that indicates whether the compiler will treat usage of the obsolete program element as an error.

Message Property

Gets a value that indicates whether the compiler will treat usage of the obsolete program element as an error.

public string Message { get; set; }