C# Class SILUBS.SharedScrUtils.QuotationMarksList

Mostrar archivo Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method 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 method

Adds the specified quotation mark object.
public Add ( QuotationMarks item ) : void
item QuotationMarks
return void

AddLevel() public method

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
return void

Clear() public method

Clears the list of quotation marks.
public Clear ( ) : void
return void

Copy() public method

Returns a copy of the list.
public Copy ( ) : QuotationMarksList
return QuotationMarksList

EnsureLevelExists() public method

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

Equals() public method

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
return bool

FindGap() public method

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

Load() public static method

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).
return QuotationMarksList

NewList() public static method

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

Remove() public method

Removes the specified item from the list.
public Remove ( QuotationMarks item ) : void
item QuotationMarks
return void

RemoveAt() public method

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

RemoveLastLevel() public method

Removes the last item from the list.
public RemoveLastLevel ( ) : void
return void

this() public method

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