KSPDev Client utilities
KSPDev Client utilities
KSPDev.ConfigUtils
GenericCollectionTypeProto Class
GenericCollectionTypeProto Methods
AddItem Method
ClearItems Method
GetEnumerator Method
GetItemType Method
GenericCollectionTypeProto
GetEnumerator Method
Returns enumerable object for the collection.
Namespace:
KSPDev.ConfigUtils
Assembly:
KSPDev_Utils.1.2 (in KSPDev_Utils.1.2.dll) Version: 1.2 for KSP v1.6+
Syntax
C#
Copy
public
override
IEnumerable
GetEnumerator
(
Object
instance
)
Request Example
View Source
Parameters
instance
Type:
System
Object
An instance to get the enumerable for.
Return Value
Type:
IEnumerable
An enumerable of objects. Type of the items is determined by the relevant
AbstractOrdinaryValueTypeProto
.
See Also
Reference
GenericCollectionTypeProto Class
KSPDev.ConfigUtils Namespace
Send comments on this topic to
igor.zavoychinskiy@gmail.com