Class IonSpotCollection
Interface for the proton scanning spot list.
Implements
System.Xml.Serialization.IXmlSerializable
System.Collections.Generic.IEnumerable<IonSpot>
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: VMS.TPS.Common.Model.API
Assembly: VMS.TPS.Common.Model.API.dll
Syntax
public class IonSpotCollection : SerializableObject, IXmlSerializable, IEnumerable<IonSpot>, IEnumerable
Properties
Count
The number of scanning spots in this collection (spot list).
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Item[Int32]
Gets the specified IonSpot from the collection.
Declaration
public IonSpot this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Zero based index of the IonSpot to retrieve. |
Property Value
Type | Description |
---|---|
IonSpot | IonSpot at the given index. |
Methods
GetEnumerator()
Retrieves enumerator for IonSpots in the collection.
Declaration
public IEnumerator<IonSpot> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<IonSpot> | Enumerator for IonSpots in the collection. |
WriteXml(XmlWriter)
Converts an object into its XML representation. For more information on how to serialize an object into an XML document, see System.Xml.Serialization.XmlSerializer.
Declaration
public override void WriteXml(XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlWriter | writer | The System.Xml.XmlWriter stream, to which the object is serialized. |
Overrides
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Xml.Serialization.IXmlSerializable
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable