protected override TValue ExecuteInContext(AudioMetadata.ValueHelper <TValue> context) { var oldValue = context.GetCurrentValue(Argument.BeatIndex); context.TrySetValue(Argument.BeatIndex, Argument.Value); return(oldValue); }
protected override void UndoInContext(AudioMetadata.ValueHelper <TValue> context, TValue savedInfo) { context.TrySetValue(Argument.BeatIndex, savedInfo); }