public void Generate()
{
if (m_addOnMethod != null)
{
m_addOnMethod.Generate();
m_builder.SetAddOnMethod(m_addOnMethod.MethodBuilder);
}
if (m_removeOnMethod != null)
{
m_removeOnMethod.Generate();
m_builder.SetRemoveOnMethod(m_removeOnMethod.MethodBuilder);
}
}