ChoonMLLib - class library to access and convert ChoonML files

SampleCollection Members

SampleCollection overview

Public Instance Properties

ChopSections If true, chop this sample into multiple samples where it crosses section boundaries. This can make editing easier in some tools. New samples will be created and named orig name_section. For this to work properly, the Sections collection must be complete before CreateSamples is used.
Count Implement Count
IsFixedSize Implement IndexOf. Returns false.
IsReadOnly Implement IsReadOnly. Returns true.
IsSynchronized Implement IsSynchronized. Returns false.
Item Implement Item
JoinSamples If true, join contiguous samples into one. This reduces the number of samples and can make editing easier in some tools.
SyncRoot Implement SyncRoot

Public Instance Methods

Add Add is not supported. Only use CreateSamples to modify this collection.
Clear Clear is not implemented. Only use CreateSamples to modify this collection.
Contains Implement Contains
CopyTo Implement CopyTo
CreateSamples Create samples. This takes the parameters for one source sample as input. It then breaks the sample up according to the settings in ChopSections and/or JoinSamples. This can result in zero or more samples being created. The returned value will have all the created samples in it. Samples are created and added to the SampleCollection.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Implement GetEnumerator, allows foreach to work.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IndexOf Implement IndexOf
Insert Insert is not implemented. Only use CreateSamples to modify this collection.
Remove Remove is not implemented. Only use CreateSamples to modify this collection.
RemoveAt RemoveAt is not implemented. Only use CreateSamples to modify this collection.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SampleCollection Class | ChoonML Namespace