private void FireAddRemove(MonoUsbProfile monoUSBProfile, AddRemoveType addRemoveType) { EventHandler <AddRemoveEventArgs> temp = AddRemoveEvent; if (!ReferenceEquals(temp, null)) { temp(this, new AddRemoveEventArgs(monoUSBProfile, addRemoveType)); } }
internal AddRemoveEventArgs(LibUsbProfile monoUSBProfile, AddRemoveType addRemoveType) { mMonoUSBProfile = monoUSBProfile; mAddRemoveType = addRemoveType; }
internal AddRemoveEventArgs(MonoUsbProfile monoUSBProfile, AddRemoveType addRemoveType) { mMonoUSBProfile = monoUSBProfile; mAddRemoveType = addRemoveType; }
public ConditionChangeEvent(Character player, ConditionType condition, AddRemoveType type) { Character = player; Condition = condition; Type = type; }