C# 클래스 SmartFormat.Extensions.CustomPluralRuleProvider

Use this class to provide custom plural rules to Smart.Format
상속: IFormatProvider
파일 보기 프로젝트 열기: scottrippey/SmartFormat.NET

공개 메소드들

메소드 설명
CustomPluralRuleProvider ( SmartFormat.Utilities.PluralRules pluralRule ) : System
GetFormat ( Type formatType ) : object
GetPluralRule ( ) : PluralRules.PluralRuleDelegate

메소드 상세

CustomPluralRuleProvider() 공개 메소드

public CustomPluralRuleProvider ( SmartFormat.Utilities.PluralRules pluralRule ) : System
pluralRule SmartFormat.Utilities.PluralRules
리턴 System

GetFormat() 공개 메소드

public GetFormat ( Type formatType ) : object
formatType System.Type
리턴 object

GetPluralRule() 공개 메소드

public GetPluralRule ( ) : PluralRules.PluralRuleDelegate
리턴 PluralRules.PluralRuleDelegate