Interface INoteCollection
Holds a collection of INote.
Namespace: UnityEditor.Localization.Plugins.XLIFF.Common
Syntax
public interface INoteCollection
Properties
NoteCount
Returns the number of notes in the collection.
Declaration
int NoteCount { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
AddNewNote()
Add a new note to the collection and returns it.
Declaration
INote AddNewNote()
Returns
Type | Description |
---|---|
INote | The new note. |
AddNote(INote)
Adds a note to the collection.
Declaration
void AddNote(INote note)
Parameters
Type | Name | Description |
---|---|---|
INote | note | The note to add. |
GetNote(Int32)
Returns the note for the requested index.
Declaration
INote GetNote(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The note index. |
Returns
Type | Description |
---|---|
INote | The requested note or |
RemoveNote(INote)
Removes the note from the collection.
Declaration
void RemoveNote(INote note)
Parameters
Type | Name | Description |
---|---|---|
INote | note | The note to be removed. |