메소드 | 설명 | |
---|---|---|
Add ( ACAT.Lib.Core.AbbreviationsManagement.Abbreviation abbreviation ) : bool |
Adds the abbreviation object to the list. If it already exists, it is replaced.
|
|
Clear ( ) : void |
Clears all the abbreviations in the list
|
|
Dispose ( ) : void |
Disposes resources
|
|
Exists ( String abbreviation ) : bool |
Checks if an abbreviation already exists in the list
|
|
Load ( String abbreviationsFile = null ) : bool |
Loads abbreviations from the specified file. If filename is null, loads from the default file. Parses the XML file and populates the sorted list
|
|
Lookup ( String mnemonic ) : ACAT.Lib.Core.AbbreviationsManagement.Abbreviation |
Returns the abbreviation object that corresponds to the mnemonic
|
|
Remove ( String abbreviation ) : bool |
Removes an abbreviation from the list
|
|
Save ( ) : bool |
Saves all the abbreviations from the sorted list to the abbreviations file
|
|
Update ( ACAT.Lib.Core.AbbreviationsManagement.Abbreviation abbreviation ) : bool |
Updates an existing abbreviation object.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Disposer. Release resources and cleanup.
|
메소드 | 설명 | |
---|---|---|
closeAbbreviationFile ( |
Writes the closing xml element and closes the xmltextwriter object
|
|
createAbbreviationsFile ( String fileName ) : |
Creates an empty abbreviations file
|
|
createAndAddAbbreviation ( |
Parses the xml node attributes from the xml nodeand creates an abbreviation object adds it to the sorted list
|
public Add ( ACAT.Lib.Core.AbbreviationsManagement.Abbreviation abbreviation ) : bool | ||
abbreviation | ACAT.Lib.Core.AbbreviationsManagement.Abbreviation | Abbreviation to add |
리턴 | bool |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to dispose managed resources |
리턴 | void |
public Exists ( String abbreviation ) : bool | ||
abbreviation | String | the mnemonic |
리턴 | bool |
public Load ( String abbreviationsFile = null ) : bool | ||
abbreviationsFile | String | name of the abbreviations file |
리턴 | bool |
public Lookup ( String mnemonic ) : ACAT.Lib.Core.AbbreviationsManagement.Abbreviation | ||
mnemonic | String | Mnemonic to look for |
리턴 | ACAT.Lib.Core.AbbreviationsManagement.Abbreviation |
public Remove ( String abbreviation ) : bool | ||
abbreviation | String | mnemonic of abbr to remove |
리턴 | bool |
public Update ( ACAT.Lib.Core.AbbreviationsManagement.Abbreviation abbreviation ) : bool | ||
abbreviation | ACAT.Lib.Core.AbbreviationsManagement.Abbreviation | Abbreviation to update |
리턴 | bool |