C# Class SILUBS.SharedScrUtils.QuotationMarksList

Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Méthode Description
Add ( QuotationMarks item ) : void

Adds the specified quotation mark object.

AddLevel ( ) : void

Adds a new level (if there are fewer than three already) and initializes the paragraph continuation values in each level. This returns true when a level was added and false if the list is already full so no more levels can be added.

Clear ( ) : void

Clears the list of quotation marks.

Copy ( ) : QuotationMarksList

Returns a copy of the list.

EnsureLevelExists ( int level ) : void

Ensures that the specified number of levels exists.

Equals ( QuotationMarksList list, bool considerParaCont ) : bool

Gets a value indicating whether or not the list is equal to the specified list.

FindGap ( ) : int

Finds the first level that is followed by a non empty level.

Load ( string xmlSrc, string wsName ) : QuotationMarksList

Creates a QuotationMarksList from the specified XML string.

NewList ( ) : QuotationMarksList

Initializes and returns a new instance of the T:QuotationMarksList class.

Remove ( QuotationMarks item ) : void

Removes the specified item from the list.

RemoveAt ( int i ) : void

Removes the QuotationMarks object specified by the index i, from the list.

RemoveLastLevel ( ) : void

Removes the last item from the list.

this ( int i ) : QuotationMarks

Gets the T:SILUBS.SharedScrUtils.QuotationMarks with the specified index.

Method Details

Add() public méthode

Adds the specified quotation mark object.
public Add ( QuotationMarks item ) : void
item QuotationMarks
Résultat void

AddLevel() public méthode

Adds a new level (if there are fewer than three already) and initializes the paragraph continuation values in each level. This returns true when a level was added and false if the list is already full so no more levels can be added.
public AddLevel ( ) : void
Résultat void

Clear() public méthode

Clears the list of quotation marks.
public Clear ( ) : void
Résultat void

Copy() public méthode

Returns a copy of the list.
public Copy ( ) : QuotationMarksList
Résultat QuotationMarksList

EnsureLevelExists() public méthode

Ensures that the specified number of levels exists.
public EnsureLevelExists ( int level ) : void
level int
Résultat void

Equals() public méthode

Gets a value indicating whether or not the list is equal to the specified list.
public Equals ( QuotationMarksList list, bool considerParaCont ) : bool
list QuotationMarksList
considerParaCont bool
Résultat bool

FindGap() public méthode

Finds the first level that is followed by a non empty level.
public FindGap ( ) : int
Résultat int

Load() public static méthode

Creates a QuotationMarksList from the specified XML string.
public static Load ( string xmlSrc, string wsName ) : QuotationMarksList
xmlSrc string The XML source string to load.
wsName string Name of the writing system (used for error reporting).
Résultat QuotationMarksList

NewList() public static méthode

Initializes and returns a new instance of the T:QuotationMarksList class.
public static NewList ( ) : QuotationMarksList
Résultat QuotationMarksList

Remove() public méthode

Removes the specified item from the list.
public Remove ( QuotationMarks item ) : void
item QuotationMarks
Résultat void

RemoveAt() public méthode

Removes the QuotationMarks object specified by the index i, from the list.
public RemoveAt ( int i ) : void
i int
Résultat void

RemoveLastLevel() public méthode

Removes the last item from the list.
public RemoveLastLevel ( ) : void
Résultat void

this() public méthode

Gets the T:SILUBS.SharedScrUtils.QuotationMarks with the specified index.
public this ( int i ) : QuotationMarks
i int
Résultat QuotationMarks