src/sys/dotnet/perwapi/PERWAPI.cs
/// <summary>
/// Add a method to this class
/// </summary>
/// <param name="mAtts">attributes for this method</param>
/// <param name="iAtts">implementation attributes for this method</param>
/// <param name="name">method name</param>
/// <param name="genPars">generic parameters</param>
/// <param name="retType">return type</param>
/// <param name="pars">parameters</param>
/// <returns>a descriptor for this new method</returns>
Add a method to this class
Add a method to this class
public MethodDef AddMethod(MethAttr mAtts, ImplAttr iAtts, string name,
            GenericParam[] genPars, Type retType, Param[] pars) {
            MethodDef meth = AddMethod(name,genPars,retType,pars);
            meth.AddMethAttribute(mAtts);
            meth.AddImplAttribute(iAtts);
            return meth;
        }
public MethodDef AddMethod ( MethAttr mAtts , ImplAttr iAtts , string name , GenericParam [ ] genPars , Type retType , Param [ ] pars ) { MethodDef meth = AddMethod ( name , genPars , retType , pars ) ; meth . AddMethAttribute ( mAtts ) ; meth . AddImplAttribute ( iAtts ) ; return meth ; }
Add a method to this class
Add a method to this class
a descriptor for this new method
a descriptor for this new method
mAtts
MethAttr
attributes for this method
attributes for this method
iAtts
ImplAttr
implementation attributes for this method
implementation attributes for this method
name
string
None
genPars
GenericParam[]
None
retType
Type
None
pars
Param[]
None