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