public IEnumerator <IProfileMetaData> GetEnumerator()
 {
     for (uint i = 0; i < _object.getSize(); i++)
     {
         yield return(new ProfileMetaData(_engine, _object.getByIndex(i)));
     }
 }
        internal static IEnumerable <IProfileMetaData> Select(
            this ProfileMetaDataCollectionSwig source,
            Func <ProfileMetaDataSwig, IProfileMetaData> selector)
        {
            for (uint i = 0; i < source.getSize(); i++)
            {
#pragma warning disable CA2000 // Dispose objects before losing scope
                // The IProfileMetaData instance that is created
                // will handle disposal
                yield return(selector(source.getByIndex(i)));

#pragma warning restore CA2000 // Dispose objects before losing scope
            }
        }