• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class DnnDeprecatedAttribute

Marks a type or member as deprecated.

Inheritance
System.Object
DnnDeprecatedAttribute
Namespace: DotNetNuke.Internal.SourceGenerators
Assembly: DotNetNuke.Abstractions.dll
Syntax
public class DnnDeprecatedAttribute : Attribute

Constructors

| Improve this Doc View Source

DnnDeprecatedAttribute(Int32, Int32, Int32, String)

Initializes a new instance of the DnnDeprecatedAttribute class.

Declaration
public DnnDeprecatedAttribute(int majorVersion, int minorVersion, int patchVersion, string replacement)
Parameters
Type Name Description
System.Int32 majorVersion

The major version in which the type or member was deprecated.

System.Int32 minorVersion

The minor version in which the type or member was deprecated.

System.Int32 patchVersion

The patch version in which the type or member was deprecated.

System.String replacement

The suggested replacement or alternative.

Properties

| Improve this Doc View Source

MajorVersion

Gets the major version in which the type or member was deprecated.

Declaration
public int MajorVersion { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MinorVersion

Gets the minor version in which the type or member was deprecated.

Declaration
public int MinorVersion { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PatchVersion

Gets the patch version in which the type or member was deprecated.

Declaration
public int PatchVersion { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

RemovalVersion

Gets or sets the major version in which the type or member will be removed.

Declaration
public int RemovalVersion { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Replacement

Gets the suggested replacement or alternative.

Declaration
public string Replacement { get; }
Property Value
Type Description
System.String

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS