Nez.Portable/Utils/NezContentManager.cs
/// <summary>
/// provides a string suitable for logging with all the currently loaded assets and effects
/// </summary>
/// <returns>The loaded assets.</returns>
provides a string suitable for logging with all the currently loaded assets and effects
provides a string suitable for logging with all the currently loaded assets and effects
internal string logLoadedAssets()
        {
#if FNA
			var fieldInfo = ReflectionUtils.getFieldInfo( this, "loadedAssets" );
			var LoadedAssets = fieldInfo.GetValue( this ) as Dictionary<string, object>;
			#endif
            var builder = new StringBuilder();
            foreach (var asset in LoadedAssets.Keys)
            {
                builder.AppendFormat("{0}: ({1})\n", asset, LoadedAssets[asset].GetType().Name);
            }
            foreach (var asset in _loadedEffects.Keys)
            {
                builder.AppendFormat("{0}: ({1})\n", asset, _loadedEffects[asset].GetType().Name);
            }
            return builder.ToString();
        }
internal string logLoadedAssets ( ) { if FNA var fieldInfo = ReflectionUtils . getFieldInfo ( this , " " ) ; var LoadedAssets = fieldInfo . GetValue ( this ) as Dictionary < string , object > ; endif var builder = new StringBuilder ( ) ; foreach ( var asset in LoadedAssets . Keys ) { builder . AppendFormat ( " \n " , asset , LoadedAssets [ asset ] . GetType ( ) . Name ) ; } foreach ( var asset in _loadedEffects . Keys ) { builder . AppendFormat ( " \n " , asset , _loadedEffects [ asset ] . GetType ( ) . Name ) ; } return builder . ToString ( ) ; }
provides a string suitable for logging with all the currently loaded assets and effects
provides a string suitable for logging with all the currently loaded assets and effects
The loaded assets.
The loaded assets .