コード例 #1
0
        private void FireAddRemove(MonoUsbProfile monoUSBProfile, AddRemoveType addRemoveType)
        {
            EventHandler <AddRemoveEventArgs> temp = AddRemoveEvent;

            if (!ReferenceEquals(temp, null))
            {
                temp(this, new AddRemoveEventArgs(monoUSBProfile, addRemoveType));
            }
        }
コード例 #2
0
 internal AddRemoveEventArgs(LibUsbProfile monoUSBProfile, AddRemoveType addRemoveType)
 {
     mMonoUSBProfile = monoUSBProfile;
     mAddRemoveType = addRemoveType;
 }
コード例 #3
0
 internal AddRemoveEventArgs(MonoUsbProfile monoUSBProfile, AddRemoveType addRemoveType)
 {
     mMonoUSBProfile = monoUSBProfile;
     mAddRemoveType  = addRemoveType;
 }
コード例 #4
0
 public ConditionChangeEvent(Character player, ConditionType condition, AddRemoveType type)
 {
     Character = player;
     Condition = condition;
     Type      = type;
 }