Class StringList
A ValueList which can hold a list of DataStrings which can be used in place of regular Strings.
Implements
Inherited Members
Namespace: ScriptableFramework
Assembly: cs.temp.dll.dll
Syntax
public class StringList : ValueList<DataString>, IList<DataString>, IValueContainer
Methods
AddRange(IEnumerable<String>)
Append objects to the end of this list.
Declaration
public virtual void AddRange(IEnumerable<string> items)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<System.String> | items | A collection of objects to be appended to this list. |
Initialise(IEnumerable<String>)
Shorthand for calling Clear () and then AddRange (items).
Declaration
public virtual void Initialise(IEnumerable<string> items)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<System.String> | items | A collection of objects to be appended to this list. |
ToArray()
Converts the internal list of DataStrings into a new array of regular stirngs.
Declaration
public virtual string[] ToArray()
Returns
| Type | Description |
|---|---|
| System.String[] | An array of strings with the same values. |
ToList()
Converts the internal list of DataStrings into a new list of regular stirngs.
Declaration
public virtual List<string> ToList()
Returns
| Type | Description |
|---|---|
| List<System.String> | A list of strings with the same values. |