public void RemovedGroupCallEventArgsConstructorTest() { BaseCreature creatureGroup = null; // TODO: 初始化为适当的值 BaseCreature creature = null; // TODO: 初始化为适当的值 RemovedGroupCallEventArgs target = new RemovedGroupCallEventArgs( creatureGroup, creature ); Assert.Inconclusive( "TODO: 实现用来验证目标的代码" ); }
public void RemoveGroupTest() { BaseCreature creatureGroup = null; // TODO: 初始化为适当的值 BaseCreature creature = null; // TODO: 初始化为适当的值 RemovedGroupCallEventArgs target = new RemovedGroupCallEventArgs( creatureGroup, creature ); // TODO: 初始化为适当的值 BaseCreature actual; actual = target.RemoveGroup; Assert.Inconclusive( "验证此测试方法的正确性。" ); }
/// <summary> /// /// </summary> internal void OnRemovedGroup( BaseCreature creatureGroup, BaseCreature creature ) { EventHandler<RemovedGroupCallEventArgs> tempAfterEventArgs = m_EventRemovedGroup; if ( tempAfterEventArgs != null ) { RemovedGroupCallEventArgs eventArgs = new RemovedGroupCallEventArgs( creatureGroup, creature ); tempAfterEventArgs( this, eventArgs ); } }