Skip to content
프로젝트

소개

C#으로 작성된 경량 텍스트 템플릿 라이브러리로, string.Format을 그대로 대체해 사용할 수 있습니다.

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original
Logo

GitHub release License: MIT AppVeyor build status windows AppVeyor build status linux

AppVeyor tests codecov Quality Gate Status

Paypal-Donations

SmartFormat is a is a lightweight text templating library written in C# which can be a drop-in replacement for string.Format. More than that SmartFormat can format data with named placeholders, lists, localization, pluralization and other smart extensions.

  • High performance with low memory footprint
  • Minimal, intuitive syntax
  • Formatting takes place exclusively at runtime
  • Exact control of whitespace text output
  • string.Format compatibility mode and SmartFormat enhanced mode
  • Most common data sources work out-of-the-box
  • Many built-in formatting extensions
  • Custom formatting and source extensions are easy to integrate

Supported Target Frameworks

  • .Net Framework 4.6.2 and later
  • .Net Standard 2.0, .Net Standard 2.1
  • .Net 6.0 or .Net 8.0

For the best optimizations and performance, use .NET 6.0 or .NET 8.0. You can expect a nice improvement in speed compared to .NET Framework 4.6.2.

Get started

NuGet Install the full NuGet package -or-

NuGet Install the core NuGet package

Docs Have a look at the SmartFormat Wiki

License

SmartFormat is licensed under The MIT License (MIT)

Thanks!

We would like to thank JetBrains for supporting the project with free licenses of their fantastic tools.

JetBrains logo

관련 프로젝트 살펴보기

불러오는 중…