Polyfill for collection things I expect in the .net libraries
using DWulf.LanguageExtensions;
will get you access to these.
◆ ToArray< T, V >() [1/2]
static T [] ToArray< T, V > |
( |
this Dictionary< T, V >.KeyCollection |
self |
) |
|
|
inlinestatic |
this is supported in higher versions of Mono than Unity uses.
Unity can compile this without issue, but MonoDevelop needs explicit types,
BundleFile[] bundles = this.bundles.Keys.ToArray<AssetId, BundleFile>();
- Template Parameters
-
- Parameters
-
- Returns
◆ ToArray< T, V >() [2/2]
static V [] ToArray< T, V > |
( |
this Dictionary< T, V >.ValueCollection |
self |
) |
|
|
inlinestatic |
this is supported in higher versions of Mono than Unity uses.
Unity can compile this without issue, but MonoDevelop needs explicit types,
BundleFile[] bundles = this.bundles.Values.ToArray<AssetId, BundleFilegt;();
- Template Parameters
-
- Parameters
-
- Returns