| Penalty Constructor (PenaltyType, Int32) |
Initializes a new instance of the
Penalty class
Namespace: Sdl.LanguagePlatform.TranslationMemoryAssembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntaxpublic Penalty(
PenaltyType t,
int malus
)
Public Sub New (
t As PenaltyType,
malus As Integer
)
public:
Penalty(
PenaltyType t,
int malus
)
new :
t : PenaltyType *
malus : int -> PenaltyParameters
- t
- Type: Sdl.LanguagePlatform.TranslationMemoryPenaltyType
The penalty type. - malus
- Type: SystemInt32
The penalty cost, which will be substracted from the base score.
See Also
Comments