Click or drag to resize
Penalty Class
Represents a penalty, which is a combination of a penalty type and a penalty value (the malus).
Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.TranslationMemoryPenalty

Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntax
public class Penalty

The Penalty type exposes the following members.

Constructors
  NameDescription
Public methodPenalty
Initializes a new instance with default values.
Public methodPenalty(PenaltyType, Int32)
Initializes a new instance of the Penalty class
Top
Properties
  NameDescription
Public propertyMalus
Gets or sets the penalty cost, which will be substracted from the base score.
Public propertyPenaltyType
Gets or sets the penalty type.
Top
Methods
  NameDescription
Public methodStatic memberCanApplyMultipleTimes
Gets a flag which indicates whether the specified penalty type can be applied multiple times in a result, or at most once.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments