C# 클래스 MediaPortal.GUI.Library.GUIPropertyManager

Implments a property manager for the GUI lib. Keeps track of the properties of the currently playing item. like playtime, current position, artist,title of the song/video,...
파일 보기 프로젝트 열기: MediaPortal/MediaPortal-1 1 사용 예제들

공개 메소드들

메소드 설명
GetProperty ( string tag ) : string

This method returns the value for a given property

Parse ( string line ) : string

Parses a property request.

Parse ( string line, MediaPortal.GUI.Library.GUIExpressionManager options ) : string

Parses a property request.

PropertyIsDefined ( string tag ) : bool

Returns true if the specified property is defined, otherwise false.

RemovePlayerProperties ( ) : void

Removes the player properties from the hashtable.

RemoveProperty ( string tag ) : void

Removes the specified property from the property set.

SetProperty ( string tag, string tagvalue ) : void

This method will set the value for a given property

비공개 메소드들

메소드 설명
GUIPropertyManager ( ) : System

Private constructor of the GUIPropertyManager. Singleton. Do not allow any instance of this class.

ParseProperty ( string property ) : string

메소드 상세

GetProperty() 공개 정적인 메소드

This method returns the value for a given property
public static GetProperty ( string tag ) : string
tag string property name
리턴 string

Parse() 공개 정적인 메소드

Parses a property request.
public static Parse ( string line ) : string
line string
리턴 string

Parse() 공개 정적인 메소드

Parses a property request.
public static Parse ( string line, MediaPortal.GUI.Library.GUIExpressionManager options ) : string
line string The identification of the propertie (e.g.,#title).
options MediaPortal.GUI.Library.GUIExpressionManager Expresson manager processing options.
리턴 string

PropertyIsDefined() 공개 정적인 메소드

Returns true if the specified property is defined, otherwise false.
public static PropertyIsDefined ( string tag ) : bool
tag string
리턴 bool

RemovePlayerProperties() 공개 정적인 메소드

Removes the player properties from the hashtable.
public static RemovePlayerProperties ( ) : void
리턴 void

RemoveProperty() 공개 정적인 메소드

Removes the specified property from the property set.
public static RemoveProperty ( string tag ) : void
tag string name of the property
리턴 void

SetProperty() 공개 정적인 메소드

This method will set the value for a given property
public static SetProperty ( string tag, string tagvalue ) : void
tag string property name
tagvalue string property value
리턴 void