public void UpdatedAccessLevelEventArgsConstructorTest()
 {
     AccessLevel oldAccessLevel = new AccessLevel(); // TODO: 初始化为适当的值
     BaseCharacter character = null; // TODO: 初始化为适当的值
     UpdatedAccessLevelEventArgs target = new UpdatedAccessLevelEventArgs( oldAccessLevel, character );
     Assert.Inconclusive( "TODO: 实现用来验证目标的代码" );
 }
 public void OldAccessLevelTest()
 {
     AccessLevel oldAccessLevel = new AccessLevel(); // TODO: 初始化为适当的值
     BaseCharacter character = null; // TODO: 初始化为适当的值
     UpdatedAccessLevelEventArgs target = new UpdatedAccessLevelEventArgs( oldAccessLevel, character ); // TODO: 初始化为适当的值
     AccessLevel actual;
     actual = target.OldAccessLevel;
     Assert.Inconclusive( "验证此测试方法的正确性。" );
 }
        /// <summary>
        ///
        /// </summary>
        internal void OnUpdatedAccessLevel(AccessLevel accessLevel, BaseCharacter creature)
        {
            EventHandler <UpdatedAccessLevelEventArgs> tempAfterEventArgs = m_EventUpdatedAccessLevel;

            if (tempAfterEventArgs != null)
            {
                UpdatedAccessLevelEventArgs eventArgs = new UpdatedAccessLevelEventArgs(accessLevel, creature);
                tempAfterEventArgs(this, eventArgs);
            }
        }
 /// <summary>
 /// 
 /// </summary>
 internal void OnUpdatedAccessLevel( AccessLevel accessLevel, BaseCharacter creature )
 {
     EventHandler<UpdatedAccessLevelEventArgs> tempAfterEventArgs = m_EventUpdatedAccessLevel;
     if ( tempAfterEventArgs != null )
     {
         UpdatedAccessLevelEventArgs eventArgs = new UpdatedAccessLevelEventArgs( accessLevel, creature );
         tempAfterEventArgs( this, eventArgs );
     }
 }