PushMate.TemplatingService 1.0.1

dotnet add package PushMate.TemplatingService --version 1.0.1
NuGet\Install-Package PushMate.TemplatingService -Version 1.0.1
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="PushMate.TemplatingService" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PushMate.TemplatingService --version 1.0.1
#r "nuget: PushMate.TemplatingService, 1.0.1"
#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 PushMate.TemplatingService as a Cake Addin
#addin nuget:?package=PushMate.TemplatingService&version=1.0.1

// Install PushMate.TemplatingService as a Cake Tool
#tool nuget:?package=PushMate.TemplatingService&version=1.0.1

Native library for templating. Intended use is for push notifications, SMS and Email systems, templating not only the text itself but also other specific attributes of each platform. For example: sound in push notifications. Use case: send push notifications messages containing the Name and Balance of each customer and play the sound they choose when it arrives.

  string baseTemplate = "Hello $name$. Your account balance is $$balance$. Thanks $name$!";
  
  var dictVariables = new Dictionary<string, string>
  {
      { "name", "Denis"},
      { "balance", "1000.00"}
  };

  string result = TemplateService.ApplyTextTemplate(baseTemplate, dictVariables);

  Assert.Equal("Hello Denis. Your account balance is $1000.00. Thanks Denis!", result);
Product 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.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 2.1

    • No dependencies.

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
1.0.1 2,127 6/26/2018
1.0.0 965 6/26/2018

just the icon