ReadFromDescription() static private method

static private ReadFromDescription ( AddinDescription description ) : AddinInfo
description Mono.Addins.Description.AddinDescription
return AddinInfo
Ejemplo n.º 1
0
        public static AddinPackage FromInstalledAddin(Addin sinfo)
        {
            AddinPackage pack = new AddinPackage();

            pack.info = AddinInfo.ReadFromDescription(sinfo.Description);
            return(pack);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets information about an add-in
 /// </summary>
 /// <param name="addin">
 /// The add-in
 /// </param>
 /// <returns>
 /// Add-in header data
 /// </returns>
 public static AddinHeader GetAddinHeader(Addin addin)
 {
     return(AddinInfo.ReadFromDescription(addin.Description));
 }