Spinner 2.0.1-Preview

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

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

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

Contributors Activity ci documentation ci License Downloads [Visitors Release Repo Size Code Factor coverity Code Factor Snyk

Introduction

Spinner is a simple object mapper, it’s useful to communicate to any system that uses a positional string as communication.

Spinner provides features

  • Fast write.
  • Convert object to a mapped string.
  • Convert string to a mapped object.

Quick Start

Installation

dotnet add package Spinner

Usage

[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

See Learn: Getting Started for setting up your project here.

Contributors

Daniel-Profile

Support

All donation are welcome, you can donate to the Spinner project, we gonna use to maintain spinner domain and ssl certificate only.

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.