Class DnnDeprecatedAttribute
Inheritance
DnnDeprecatedAttribute
Assembly: DotNetNuke.Abstractions.dll
Syntax
[Conditional("DNN_SOURCE_GENERATOR")]
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Method|AttributeTargets.Interface)]
public class DnnDeprecatedAttribute : Attribute
Constructors
DnnDeprecatedAttribute(int, int, int, string)
Declaration
public DnnDeprecatedAttribute(int majorVersion, int minorVersion, int patchVersion, string replacement)
Parameters
| Type |
Name |
Description |
| int |
majorVersion |
|
| int |
minorVersion |
|
| int |
patchVersion |
|
| string |
replacement |
|
DnnDeprecatedAttribute(int, int, int, string, bool)
Declaration
public DnnDeprecatedAttribute(int majorVersion, int minorVersion, int patchVersion, string replacement, bool error)
Parameters
| Type |
Name |
Description |
| int |
majorVersion |
|
| int |
minorVersion |
|
| int |
patchVersion |
|
| string |
replacement |
|
| bool |
error |
|
Properties
IsError
Declaration
public bool IsError { get; set; }
Property Value
MajorVersion
Declaration
public int MajorVersion { get; }
Property Value
MinorVersion
Declaration
public int MinorVersion { get; }
Property Value
PatchVersion
Declaration
public int PatchVersion { get; }
Property Value
RemovalVersion
Declaration
public int RemovalVersion { get; set; }
Property Value
Replacement
Declaration
public string Replacement { get; }
Property Value
Extension Methods