private DefineType ( String typename, bool ispublic, |
||
typename | String | |
ispublic | bool | |
inheritfromclass | ||
return | void |
internal void DefineType(String typename, bool ispublic, Type inheritfromclass) {
if (ispublic)
_typebuilder = _module.DefineType(typename, TypeAttributes.Class | TypeAttributes.Public, inheritfromclass);
else
_typebuilder = _module.DefineType(typename, TypeAttributes.Class | TypeAttributes.NotPublic, inheritfromclass);
}