OpenMRU.Core
1.1.0
See the version list below for details.
dotnet add package OpenMRU.Core --version 1.1.0
NuGet\Install-Package OpenMRU.Core -Version 1.1.0
<PackageReference Include="OpenMRU.Core" Version="1.1.0" />
paket add OpenMRU.Core --version 1.1.0
#r "nuget: OpenMRU.Core, 1.1.0"
// Install OpenMRU.Core as a Cake Addin #addin nuget:?package=OpenMRU.Core&version=1.1.0 // Install OpenMRU.Core as a Cake Tool #tool nuget:?package=OpenMRU.Core&version=1.1.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:
- 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.
- (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.
- 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
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.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.
- add grouping by date ranges;
- add possibility of filtration by MRU file name;