Class OpenMpApiFunctionAttribute
Specifies the name of the open.mp API function that this method represents. By default, the name of the method converted to camel case is used as the function name.
[AttributeUsage(AttributeTargets.Method)]
public class OpenMpApiFunctionAttribute : Attribute
- Inheritance
-
OpenMpApiFunctionAttribute
- Inherited Members
Constructors
OpenMpApiFunctionAttribute(string)
Specifies the name of the open.mp API function that this method represents. By default, the name of the method converted to camel case is used as the function name.
public OpenMpApiFunctionAttribute(string functionName)
Parameters
functionNamestringThe name of the open.mp API function.
Properties
FunctionName
Gets the name of the open.mp API function.
public string FunctionName { get; }