Returns true if an aspect of a given type exists in the collection. Since most Aspects are
supposed to only exist ONE instance of we created this method to easily be able to spot duplicates.
Namespace:
Gaia.WebWidgetsAssembly: Gaia.WebWidgets (in Gaia.WebWidgets.dll) Version: 3.6.0.0 (3.6.0.0)
Syntax
| C# |
|---|
public bool Contains<T>() where T : IAspect |
| Visual Basic (Declaration) |
|---|
Public Function Contains(Of T As IAspect) As Boolean |
Type Parameters
- T
- Type to search for
