Class Penalty
Inheritance
System.Object
    Penalty
  Inherited Members
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
public class Penalty
  Constructors
Penalty()
Declaration
public Penalty()
  Penalty(PenaltyType, Int32)
Declaration
public Penalty(PenaltyType t, int malus)
  Parameters
| Type | Name | Description | 
|---|---|---|
| PenaltyType | t | |
| System.Int32 | malus | 
Properties
Malus
Declaration
public int Malus { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
PenaltyType
Declaration
public PenaltyType PenaltyType { get; set; }
  Property Value
| Type | Description | 
|---|---|
| PenaltyType | 
Methods
CanApplyMultipleTimes(PenaltyType)
Declaration
public static bool CanApplyMultipleTimes(PenaltyType pt)
  Parameters
| Type | Name | Description | 
|---|---|---|
| PenaltyType | pt | 
Returns
| Type | Description | 
|---|---|
| System.Boolean |