C# Class SIL.FieldWorks.Common.Controls.ClearMethod

Implement (Fake)DoIt by replacing the current value with an empty string.
Inheritance: DoItMethod
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
ClearMethod ( SIL.FieldWorks.FDO.FdoCache cache, ISilDataAccessManaged sda, FieldReadWriter accessor, XmlNode spec ) : System

Méthodes protégées

Méthode Description
NewValue ( int hvo ) : ITsString

Actually produce the replacement string.

OkToChange ( int hvo ) : bool

We can do a replace if the current value is not empty.

Method Details

ClearMethod() public méthode

public ClearMethod ( SIL.FieldWorks.FDO.FdoCache cache, ISilDataAccessManaged sda, FieldReadWriter accessor, XmlNode spec ) : System
cache SIL.FieldWorks.FDO.FdoCache
sda ISilDataAccessManaged
accessor FieldReadWriter
spec System.Xml.XmlNode
Résultat System

NewValue() protected méthode

Actually produce the replacement string.
protected NewValue ( int hvo ) : ITsString
hvo int
Résultat ITsString

OkToChange() protected méthode

We can do a replace if the current value is not empty.
protected OkToChange ( int hvo ) : bool
hvo int
Résultat bool