OpenMRU.Core 1.2.0

Open MRU Siute (core part)
Contains interfaces and implementations for to store of records about MRU files and their management.
Also, contains interfaces for 'view' part and its logic.

Install-Package OpenMRU.Core -Version 1.2.0
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OpenMRU.Core, 1.2.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

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.

Links

https://github.com/dmsobeshchanskiy/OpenMRUSuite

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.

Links

https://github.com/dmsobeshchanskiy/OpenMRUSuite

Release Notes

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

  • .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 History

Version Downloads Last updated
1.2.0 197 9/26/2020
1.1.0 169 9/20/2020
1.0.0 105 9/9/2020