C# Class Quickstarts.ClientUtils

Defines numerous re-useable utility functions.
ファイルを表示 Open project: OPCFoundation/Misc-Tools

Public Methods

Method 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 method

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

GetAppIcon() public static method

Returns the application icon.
public static GetAppIcon ( ) : System.Drawing.Icon
return System.Drawing.Icon

GetEventNotifierDisplayText() public static method

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

GetValueRankDisplayText() public static method

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

HandleException() public static method

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