using System; namespace SK.Framework { public sealed class InputTrigger { public readonly InputTriggerType type; public readonly Func disposeWhen; public InputTrigger(InputTriggerType type) { this.type = type; } public InputTrigger(InputTriggerType type, Func disposeWhen) { this.type = type; this.disposeWhen = disposeWhen; } } }