C# 클래스 Xunit.Reporting.Internal.Generator.Pluralizer

A simple helper class for pluralizing names.
파일 보기 프로젝트 열기: BjRo/xunitbddextensions

공개 메소드들

메소드 설명
Pluralize ( string name, int value ) : string

Takes the name specified via name and appends an "s" to it in case the value specified via value is greater than 1.

메소드 상세

Pluralize() 공개 메소드

Takes the name specified via name and appends an "s" to it in case the value specified via value is greater than 1.
public Pluralize ( string name, int value ) : string
name string /// Specifies the name to pluralize. ///
value int /// Specifies the value to decide on. ///
리턴 string