C# 클래스 Mono.Addins.Addin

An add-in.
파일 보기 프로젝트 열기: mono/mono-addins 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Addin System
LoadAddinInfo void
ResetCachedData void
SetIsUserAddin void

공개 메소드들

메소드 설명
CompareVersions ( string v1, string v2 ) : int

Compares two add-in versions

GetFullId ( string ns, string id, string version ) : string

Returns the identifier of an add-in

GetIdName ( string addinId ) : string

Given a full add-in identifier, returns the namespace and name of the add-in (it removes the version number)

GetIdParts ( string addinId, string &name, string &version ) : void

Splits a full add-in identifier in name and version

GetIdVersion ( string addinId ) : string

Given a full add-in identifier, returns the version the add-in

SupportsVersion ( string version ) : bool

Checks version compatibility.

This method checks the CompatVersion property to know if the provided version is compatible with the version of this add-in.

ToString ( ) : string

Returns a System.String that represents the current Mono.Addins.Addin.

비공개 메소드들

메소드 설명
Addin ( AddinDatabase database, string domain, string id ) : System
LoadAddinInfo ( ) : void
ResetCachedData ( ) : void
SetIsUserAddin ( AddinDescription adesc ) : void

메소드 상세

CompareVersions() 공개 정적인 메소드

Compares two add-in versions
public static CompareVersions ( string v1, string v2 ) : int
v1 string /// A version ///
v2 string /// A version ///
리턴 int

GetFullId() 공개 정적인 메소드

Returns the identifier of an add-in
public static GetFullId ( string ns, string id, string version ) : string
ns string /// Namespace of the add-in ///
id string /// Name of the add-in ///
version string /// Version of the add-in ///
리턴 string

GetIdName() 공개 정적인 메소드

Given a full add-in identifier, returns the namespace and name of the add-in (it removes the version number)
public static GetIdName ( string addinId ) : string
addinId string /// Add-in identifier. ///
리턴 string

GetIdParts() 공개 정적인 메소드

Splits a full add-in identifier in name and version
public static GetIdParts ( string addinId, string &name, string &version ) : void
addinId string /// Add-in identifier. ///
name string /// The resulting name ///
version string /// The resulting version ///
리턴 void

GetIdVersion() 공개 정적인 메소드

Given a full add-in identifier, returns the version the add-in
public static GetIdVersion ( string addinId ) : string
addinId string
리턴 string

SupportsVersion() 공개 메소드

Checks version compatibility.
This method checks the CompatVersion property to know if the provided version is compatible with the version of this add-in.
public SupportsVersion ( string version ) : bool
version string /// An add-in version. ///
리턴 bool

ToString() 공개 메소드

Returns a System.String that represents the current Mono.Addins.Addin.
public ToString ( ) : string
리턴 string