methodmaps will be generable but requires this specific format:
Must derive from an int type:
type M int
Getters and Setters need to be methods that start with Get_, have no parameters, and return something or start with Set_ with one parameter and return nothing:
func (m M) Get_iProperty() int {}
func (m M) Set_iProperty(i int) {}
becomes:
property iProperty {
public get() { }
public set(int i) { }
}
Regular methods will simply become a methodmap method.
Static methods requires only the type name as a method receiver:
func (M) StaticMethod() {}
becomes:
public static StaticMethod() {}
Constructor requires the name New_ and the name of the methodmap type:
methodmaps will be generable but requires this specific format:
Must derive from an
int
type:Getters and Setters need to be methods that start with
Get_
, have no parameters, and return something or start withSet_
with one parameter and return nothing:becomes:
Regular methods will simply become a methodmap method.
Static methods requires only the type name as a method receiver:
becomes:
Constructor requires the name
New_
and the name of the methodmap type:becomes: