public void UpdatedGoldLootsEventArgsConstructorTest() { OneTreasure[] treasure = null; // TODO: 初始化为适当的值 BaseCreature creature = null; // TODO: 初始化为适当的值 UpdatedGoldLootsEventArgs target = new UpdatedGoldLootsEventArgs( treasure, creature ); Assert.Inconclusive( "TODO: 实现用来验证目标的代码" ); }
public void OldLootsTest() { OneTreasure[] treasure = null; // TODO: 初始化为适当的值 BaseCreature creature = null; // TODO: 初始化为适当的值 UpdatedGoldLootsEventArgs target = new UpdatedGoldLootsEventArgs( treasure, creature ); // TODO: 初始化为适当的值 OneTreasure[] actual; actual = target.OldLoots; Assert.Inconclusive( "验证此测试方法的正确性。" ); }
/// <summary> /// /// </summary> internal void OnUpdatedGoldLoots( OneTreasure[] goldLoots, BaseCreature creature ) { EventHandler<UpdatedGoldLootsEventArgs> tempAfterEventArgs = m_EventUpdatedGoldLoots; if ( tempAfterEventArgs != null ) { UpdatedGoldLootsEventArgs eventArgs = new UpdatedGoldLootsEventArgs( goldLoots, creature ); tempAfterEventArgs( this, eventArgs ); } }