Tinkr2/4.2/AphelionCore/AphelionCore/Core/Core.cs
/// <summary>
/// Returns the image of the application
/// </summary>
/// <param name="threadId">Guid of application to get image from</param>
/// <returns>Returns the image of the application</returns>
Returns the image of the application
Returns the image of the application
public static ApplicationImage GetApplicationImage(Guid threadId)
      {
         if (_instance._appRefs != null)
         {
            for (int i = 0; i < _instance._appRefs.Length; i++)
            {
               if (_instance._appRefs[i].ThreadId.Equals(threadId))
               {
                  return _instance._appRefs[i].Image;
               }
            }
         }
         return new ApplicationImage();
      }
public static ApplicationImage GetApplicationImage ( Guid threadId ) { if ( _instance . _appRefs != null ) { for ( int i = 0 ; i < _instance . _appRefs . Length ; i ++ ) { if ( _instance . _appRefs [ i ] . ThreadId . Equals ( threadId ) ) { return _instance . _appRefs [ i ] . Image ; } } } return new ApplicationImage ( ) ; }
Returns the image of the application
Returns the image of the application
Returns the image of the application
Returns the image of the application
threadId
Guid
Guid of application to get image from
Guid of application to get image from