 | ParallelMusicCollectionSelectT Method (FuncT, MusicObject) |
Projects all music objects of specified type into a
MusicObject of the same structure.
Namespace: MidiGremlinAssembly: MidiGremlin (in MidiGremlin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic override MusicObject Select<T>(
Func<T, MusicObject> selector
)
where T : MusicObject
Public Overrides Function Select(Of T As MusicObject) (
selector As Func(Of T, MusicObject)
) As MusicObject
public:
generic<typename T>
where T : MusicObject
virtual MusicObject^ Select(
Func<T, MusicObject^>^ selector
) override
abstract Select :
selector : Func<'T, MusicObject> -> MusicObject when 'T : MusicObject
override Select :
selector : Func<'T, MusicObject> -> MusicObject when 'T : MusicObject
Parameters
- selector
- Type: SystemFuncT, MusicObject
A transform function to apply to each element.
Type Parameters
- T
- The MusicObject subtype to modify.
Return Value
Type:
MusicObjectA
MusicObject of identical structure that is the result of invoking the transform function of all elements of type T.
See Also