C# Class Quartz.TextToSchedule.Util.NamedFormatHelper

Helper methods to have a named format string.
显示文件 Open project: amazing-andrew/Quartz.TextToSchedule

Public Methods

Method Description
NamedFormat ( string format, IFormatProvider provider, object formatObject ) : string
NamedFormat ( string format, IFormatProvider provider, object formatObject, bool throwExceptionIfNotFound ) : string
NamedFormat ( string format, object formatObject ) : string

Private Methods

Method Description
GetObjectValue ( string fieldName, object formatObj, bool throwExceptionIfNotFound ) : string

Method Details

NamedFormat() public static method

public static NamedFormat ( string format, IFormatProvider provider, object formatObject ) : string
format string
provider IFormatProvider
formatObject object
return string

NamedFormat() public static method

public static NamedFormat ( string format, IFormatProvider provider, object formatObject, bool throwExceptionIfNotFound ) : string
format string
provider IFormatProvider
formatObject object
throwExceptionIfNotFound bool
return string

NamedFormat() public static method

public static NamedFormat ( string format, object formatObject ) : string
format string
formatObject object
return string