OpenMRU.Core 1.2.0

.NET Standard 2.0
NuGet\Install-Package OpenMRU.Core -Version 1.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package OpenMRU.Core --version 1.2.0
<PackageReference Include="OpenMRU.Core" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenMRU.Core --version 1.2.0
#r "nuget: OpenMRU.Core, 1.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install OpenMRU.Core as a Cake Addin
#addin nuget:?package=OpenMRU.Core&version=1.2.0

// Install OpenMRU.Core as a Cake Tool
#tool nuget:?package=OpenMRU.Core&version=1.2.0

OpenMRU.Core

About

OpenMRU.Core is a part of OpenMRUSuite and serves as a base for "MRU (Most resently used) files" functionality. It contains interfaces and their default implementations for to management of MRU items, interfaces for GUI part and logic that works with this GUI's interface.

MRU GUI controls

Easiest way to add MRU functionality to you software is to use OpenMRU package corresponding to your GUI Framework (For example, use OpenMRU.WinForm for software, that uses WinForm for GUI part).

Quick start with Core

If there is no OpenMRU GUI package suitable for you or you want your own GUI/Core part implementation, than next 3 steps should be done:

  1. Create 2 GUI controls:
  • control for single MRU item presentation and implement OpenMRU.Core.View.Interfaces.IMRUItemView by this control and
  • control for MRU items list presentation and implement OpenMRU.Core.View.Interfaces.IMRUItemsView by this control.
  1. (Optionally) Provide own implementations for interfaces from OpenMRU.Core.Common.Interfaces namespace: IMRUItemStorage and IMRUManager.

OpenMRU.Core provides default implementations for these interfaces that are located in OpenMRU.Core.Common.Implementations namespace: MRUItemFileStorage and MRUManager. MRUManager is responsible for management of MRU items and uses IMRUItemStorage implementation for to write / read MRU items. MRUItemFileStorage is responsible for saving MRU items and uses XML file for it. So, if you want to use another way of storing MRU items (for exmaple, in DB), or provide own logic for MRU items management - you can provide own implementation (s) of corresponding interfaces and use them with OpenMRUSuite.

  1. Add control (IMRUItemsView implementation from step 1) to your application GUI and bind it to OpenMRU.Core.View.LogicMRUGuiLogic. For doing this you should create LogicMRUGuiLogic instance passing next parameters to its constructor:
  • IMRUItemsView implementation (control that was just added);
  • IMRUManger implementation (default or your own)
  • MRUGuiLocalization class instance from OpenMRU.Core.View.Localization namespace. You can just create instance of this class by calling constructor without parameters for default english localization. Or create instance of localization class and assign localized values to corresponding properties of this class.

https://github.com/dmsobeshchanskiy/OpenMRUSuite

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on OpenMRU.Core:

Package Downloads
OpenMRU.WinForm

Open MRU Siute (WinForm GUI controls) Contains WinForm GUI controls for MRU items functionality

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.0 487 9/26/2020
1.1.0 350 9/20/2020
1.0.0 283 9/9/2020

New features:
     - adjustable amount of MRU items to track
     Fixed issues:
     - correct order of MRU items