Spinner 2.0.3-Preview

This is a prerelease version of Spinner.
dotnet add package Spinner --version 2.0.3-Preview
NuGet\Install-Package Spinner -Version 2.0.3-Preview
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.
<PackageReference Include="Spinner" Version="2.0.3-Preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Spinner --version 2.0.3-Preview
#r "nuget: Spinner, 2.0.3-Preview"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Spinner as a Cake Addin
#addin nuget:?package=Spinner&version=2.0.3-Preview&prerelease

// Install Spinner as a Cake Tool
#tool nuget:?package=Spinner&version=2.0.3-Preview&prerelease

<div align="center"> <img src="./assets/logo.png?raw=true"> </div>

Contributors Activity ci documentation ci License Downloads Release Repo Size Code Factor Meercode Snyk

Introduction

Spinner is a versatile and efficient tool designed to streamline data interchange between applications. With its intuitive object mapping capabilities, Spinner excels in translating complex information into a format that can be easily understood and processed by a wide range of systems.

Moreover, Spinner boasts a user-friendly interface that empowers developers to effortlessly configure mappings, reducing the time and effort required to integrate disparate systems. Its adaptability extends to various data types, allowing for precise mapping of objects, arrays, and other complex structures.

Features

  • Swift Writing Speed.
  • Effortlessly Transforms Objects into Mapped Strings.
  • Seamlessly Converts Mapped Strings back into Objects.

Quick Start

Installation

dotnet add package Spinner

Usage

To accurately represent the final string, instantiate an object. Note that utilizing the WriteProperty attribute is essential for this process.

[ObjectMapper(length: 50)]
public struct Nothing
{
  public Nothing(string name, string webSite)
  {
    this.Name = name;
    this.WebSite = webSite;
  }
  
  [WriteProperty(length: 20, order: 1, paddingChar: ' ')]
  public string Name { get; private set; }
  
  [WriteProperty(length: 30, order: 2, paddingChar: ' ')]
  public string WebSite { get; private set; }
}
    
 var nothing = new Nothing("spinner", "www.spinner.com.br");
 var spinner = new Spinner<Nothing>(nothing);
 var stringResponse = spinner.WriteAsString();   
 // stringResponse = "              spinner            www.spinner.com.br"

Documentation

Refer to 'Learn: Getting Started' for comprehensive instructions on setting up your project. here.

Contributors

Daniel-Profile

Support

We appreciate any donations. Your contributions to the Spinner project will be used exclusively for maintaining the Spinner domain and SSL certificate.

License

Our code and framework are licensed under the MIT license. Please see the license file for more information. You can do whatever you want as long as you include the original copyright and license notice in any copy of the software/source.

Stats

Repobeats analytics image

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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 netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.3-Preview 122 11/20/2023
2.0.1-Preview 84 2/6/2023
2.0.0-Preview 98 8/10/2022
1.1.8 497 11/9/2022
1.1.7 306 11/5/2022
1.1.6 731 3/6/2022
1.1.5 376 3/6/2022
1.1.4 223 1/5/2022
1.1.3 3,531 12/20/2021
1.1.2 243 12/18/2021
1.1.1 1,152 11/28/2021
1.1.0 840 11/21/2021
1.0.0 349 10/30/2021
1.0.0-RC1 818 11/14/2021
1.0.0-Preview7 851 11/14/2021
1.0.0-Preview6 798 11/14/2021
1.0.0-Preview5 959 11/6/2021
1.0.0-Preview4 894 10/31/2021
1.0.0-Preview3 322 10/31/2021
1.0.0-Preview2 319 10/31/2021