Table of Contents

Class DeprecatedApi

Namespace
ToSic.Sys.Documentation
Assembly
ToSic.Sys.Core.dll

This attribute marks APIs to be publicly documented with a clear warning that it's deprecated.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
public class DeprecatedApi : Attribute
Inheritance
object
Attribute
DeprecatedApi

Remarks

Introduced in v22.

Constructors

DeprecatedApi(string, string, string)

This attribute marks APIs to be publicly documented with a clear warning that it's deprecated.

public DeprecatedApi(string comment, string started, string expectedRemoval)

Parameters

comment string

Reason why it's deprecated, required

started string
expectedRemoval string

Remarks

Introduced in v22.