C# Class Quickstarts.ClientUtils

Defines numerous re-useable utility functions.
Afficher le fichier Open project: OPCFoundation/Misc-Tools

Méthodes publiques

Méthode Description
GetAccessLevelDisplayText ( byte accessLevel ) : string

Gets the display text for the access level attribute.

GetAppIcon ( ) : System.Drawing.Icon

Returns the application icon.

GetEventNotifierDisplayText ( byte eventNotifier ) : string

Gets the display text for the event notifier attribute.

GetValueRankDisplayText ( int valueRank ) : string

Gets the display text for the value rank attribute.

HandleException ( string caption, Exception e ) : void

Handles an exception.

Method Details

GetAccessLevelDisplayText() public static méthode

Gets the display text for the access level attribute.
public static GetAccessLevelDisplayText ( byte accessLevel ) : string
accessLevel byte The access level.
Résultat string

GetAppIcon() public static méthode

Returns the application icon.
public static GetAppIcon ( ) : System.Drawing.Icon
Résultat System.Drawing.Icon

GetEventNotifierDisplayText() public static méthode

Gets the display text for the event notifier attribute.
public static GetEventNotifierDisplayText ( byte eventNotifier ) : string
eventNotifier byte The event notifier.
Résultat string

GetValueRankDisplayText() public static méthode

Gets the display text for the value rank attribute.
public static GetValueRankDisplayText ( int valueRank ) : string
valueRank int The value rank.
Résultat string

HandleException() public static méthode

Handles an exception.
public static HandleException ( string caption, Exception e ) : void
caption string
e System.Exception
Résultat void