Spinner 1.1.9

There is a newer version of this package available.
See the version list below for details.
dotnet add package Spinner --version 1.1.9                
NuGet\Install-Package Spinner -Version 1.1.9                
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="1.1.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Spinner --version 1.1.9                
#r "nuget: Spinner, 1.1.9"                
#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=1.1.9

// Install Spinner as a Cake Tool
#tool nuget:?package=Spinner&version=1.1.9                

<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 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 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 is compatible.  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. 
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.