我是否知道在UML类图中表示我的类对象的方法,它从外部包扩展了类,例如抽象类BroadcastReceiver?
例如,我有以下课程: -
public class MyBroadcastReceiver : BroadcastReceiver
{
private bool isConnected;
public MyBroadcastReceiver (Context context)
{
}
public override void OnReceive(Context context, Intent intent)
{
}
}