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