Skip to content

Provides support the MVVM pattern in WPF and/or WinForms applications, and additional utilities.

License

Notifications You must be signed in to change notification settings

cube-soft/cube.core

Repository files navigation

Cube.Core

Core Forms Forms.Controls Xui AlphaFS NLog AppVeyor Codecov

The project provides support the MVVM pattern in WinForms or WPF (or possibly other frameworks) applications. This project can be roughly divided into the three packages as follows:

The Cube.Core package provides some additional utility functions. One of them is Cube.FileSystem.Io class, which provides functionality to switch between the use of .NET standard methods or other third party libraries for I/O operations such as move, copy, delete, etc. The Cube.FileSystem.AlphaFS package is the implementations of those I/O operations by using the AlphaFS library.

Note that the libraries may output debug logs internally, but by default, these logs are not actually output anywhere. To check the contents of the debug logs, add Cube.Logging.NLog package and add the following code.

Cube.Logger.Configure(new Cube.Logging.NLog.LoggerSource());

These packages are basically available for .NET Framework 3.5, 4.6, .NET Standard 2.0, .NET 6, or later. Note that the Cube.FileSystem.AlphaFS package supports only .NET Framework.

Installation

You can install the library through the NuGet package. Add dependencies in your project file or select it from the NuGet packages UI on Visual Studio. For more information, see the NuGet page.

Contributing

  1. Fork Cube.Core repository.
  2. Create a feature branch from the master branch (git checkout -b my-new-feature origin/master).
  3. Commit your changes.
  4. Rebase your local changes against the master branch.
  5. Run the dotnet test command or the Visual Studio (NUnit 3 test adapter) and confirm that it passes.
  6. Create new Pull Request.

License

Copyright © 2010 CubeSoft, Inc. These packages are licensed under the Apache 2.0.