From 6a386935faf85590d8924cb8bee0fed4f2898331 Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Sat, 16 May 2020 07:12:49 -0400 Subject: [PATCH] provide enum for specifying forward / backward seek direction --- MBS.Framework/MBS.Framework.csproj | 1 + MBS.Framework/SeekDirection.cs | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 MBS.Framework/SeekDirection.cs diff --git a/MBS.Framework/MBS.Framework.csproj b/MBS.Framework/MBS.Framework.csproj index 589ae3e..d52d765 100644 --- a/MBS.Framework/MBS.Framework.csproj +++ b/MBS.Framework/MBS.Framework.csproj @@ -67,6 +67,7 @@ + diff --git a/MBS.Framework/SeekDirection.cs b/MBS.Framework/SeekDirection.cs new file mode 100644 index 0000000..971b5b9 --- /dev/null +++ b/MBS.Framework/SeekDirection.cs @@ -0,0 +1,29 @@ +// +// SeekDirection.cs +// +// Author: +// Michael Becker +// +// Copyright (c) 2020 Mike Becker's Software +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +using System; +namespace MBS.Framework +{ + public enum SeekDirection + { + Forward, + Backward + } +}