Enfusion Script API
Loading...
Searching...
No Matches
Obsolete Interface Reference

Marks method as obsolete. More...

Inheritance diagram for Obsolete:
Managed

Public Member Functions

void Obsolete (string msg="")
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Public Attributes

string m_Msg
 

Detailed Description

Marks method as obsolete.

When is the method used, compiler just throw a compile-time warning, but method is called normally.

[Obsolete("Use different method!")]
void Hello()
{
}
void Test()
{
Hello(); // throws compile warning on this line: 'Hello' is obsolete: use different method!
}
void Obsolete(string msg="")
Definition EnScript.c:24
Attribute used for tests annotation and assignment to Suites.
Definition TestingFramework.c:97

Constructor & Destructor Documentation

◆ Obsolete()

void Obsolete.Obsolete ( string msg = "")

Member Data Documentation

◆ m_Msg

string Obsolete.m_Msg

The documentation for this interface was generated from the following file: