C# Class ApiParser.UnityApiEventFunction

Inheritance: HasVersionRange
显示文件 Open project: JetBrains/resharper-unity Class Usage Examples

Public Methods

Method Description
AddParameter ( string name, ApiType type, string description = null ) : UnityApiParameter
ExportTo ( XmlTextWriter xmlWriter ) : void
ToString ( ) : string
UnityApiEventFunction ( string name, bool isStatic, ApiType returnType, System.Version apiVersion, string description = null, string docPath = null, bool undocumented = false ) : System
Update ( UnityApiEventFunction function, System.Version apiVersion ) : void

Private Methods

Method Description
WriteParameters ( XmlTextWriter xmlWriter ) : void
WriteReturns ( XmlWriter xmlWriter ) : void

Method Details

AddParameter() public method

public AddParameter ( string name, ApiType type, string description = null ) : UnityApiParameter
name string
type ApiType
description string
return UnityApiParameter

ExportTo() public method

public ExportTo ( XmlTextWriter xmlWriter ) : void
xmlWriter System.Xml.XmlTextWriter
return void

ToString() public method

public ToString ( ) : string
return string

UnityApiEventFunction() public method

public UnityApiEventFunction ( string name, bool isStatic, ApiType returnType, System.Version apiVersion, string description = null, string docPath = null, bool undocumented = false ) : System
name string
isStatic bool
returnType ApiType
apiVersion System.Version
description string
docPath string
undocumented bool
return System

Update() public method

public Update ( UnityApiEventFunction function, System.Version apiVersion ) : void
function UnityApiEventFunction
apiVersion System.Version
return void