예제 #1
0
        protected override TValue ExecuteInContext(AudioMetadata.ValueHelper <TValue> context)
        {
            var oldValue = context.GetCurrentValue(Argument.BeatIndex);

            context.TrySetValue(Argument.BeatIndex, Argument.Value);
            return(oldValue);
        }
예제 #2
0
 protected override void UndoInContext(AudioMetadata.ValueHelper <TValue> context, TValue savedInfo)
 {
     context.TrySetValue(Argument.BeatIndex, savedInfo);
 }