Class ClassList
Lists of Classes are represented as ClassList's.
Implements
Inherited Members
Namespace: HAPI
Assembly: hugincs-9.7-netstandard2.0-x64.dll
Syntax
public class ClassList : List<Class>, IList<Class>, ICollection<Class>, IList, ICollection, IReadOnlyList<Class>, IReadOnlyCollection<Class>, IEnumerable<Class>, IEnumerable
Constructors
ClassList()
Constructs a new ClassList.
Declaration
public ClassList()
Methods
Contains(Class)
Tests if a given class is contained in the ClassList.
Declaration
public bool Contains(Class cls)
Parameters
| Type | Name | Description |
|---|---|---|
| Class | cls | Class to test for. |
Returns
| Type | Description |
|---|---|
| bool | Returns |
Exceptions
| Type | Condition |
|---|---|
| ExceptionHugin |
Contains(string)
Tests if a given class is contained in the ClassList.
Declaration
public bool Contains(string className)
Parameters
| Type | Name | Description |
|---|---|---|
| string | className | The name of the Class to test for. |
Returns
| Type | Description |
|---|---|
| bool | Returns |
Exceptions
| Type | Condition |
|---|---|
| ExceptionHugin |
Find(string)
Returns the Class named 'className' (if any) in this ClassList.
Declaration
public Class Find(string className)
Parameters
| Type | Name | Description |
|---|---|---|
| string | className |
Returns
| Type | Description |
|---|---|
| Class | the Class named 'className' in this ClassList.
Returns |
Exceptions
| Type | Condition |
|---|---|
| ExceptionHugin |
ToString()
Returns a String of names of the Classes in this ClassList.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A String like e.g., "{ ClassA, ClassB }". |