Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Obsolete Interface Reference

Marks method as obsolete. More...

Inheritance diagram for Obsolete:
[legend]

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!
}
Marks method as obsolete.
Definition: EnScript.c:22
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: