Show / Hide Table of Contents

Struct ComponentCollectionSerialized

Serializable (pure-data) object representing a ComponentCollection

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: GoRogue.SerializedTypes.Components
Assembly: GoRogue.dll
Syntax
[DataContract]
public struct ComponentCollectionSerialized

Fields

View Source

Components

List of components in the collection.

Declaration
[DataMember]
public List<ComponentTagPair> Components
Field Value
Type Description
List<ComponentTagPair>

Methods

View Source

FromComponentCollection(ComponentCollection)

Converts ComponentCollection to ComponentCollectionSerialized.

Declaration
public static ComponentCollectionSerialized FromComponentCollection(ComponentCollection collection)
Parameters
Type Name Description
ComponentCollection collection
Returns
Type Description
ComponentCollectionSerialized
View Source

ToComponentCollection()

Converts ComponentCollectionSerialized to ComponentCollection.

Declaration
public ComponentCollection ToComponentCollection()
Returns
Type Description
ComponentCollection

Operators

View Source

implicit operator ComponentCollectionSerialized(ComponentCollection)

Converts ComponentCollection to ComponentCollectionSerialized.

Declaration
public static implicit operator ComponentCollectionSerialized(ComponentCollection collection)
Parameters
Type Name Description
ComponentCollection collection
Returns
Type Description
ComponentCollectionSerialized
View Source

implicit operator ComponentCollection(ComponentCollectionSerialized)

Converts ComponentCollectionSerialized to ComponentCollection.

Declaration
public static implicit operator ComponentCollection(ComponentCollectionSerialized collection)
Parameters
Type Name Description
ComponentCollectionSerialized collection
Returns
Type Description
ComponentCollection

Extension Methods

Utility.Yield<T>(T)
  • View Source
In this article
Back to top Generated by DocFX