C# Class BusinessCats.Util

Afficher le fichier Open project: adzm/BusinessCats

Méthodes publiques

Méthode Description
GetActiveLyncConversationTitle ( ) : string
GetActiveLyncConversationWnd ( ) : IntPtr
GetArchivePath ( string subdirectory = "" ) : string
GetConfigPath ( ) : string
GetLocalTimeStamp ( ) : string
GetSnipPath ( ) : string
GetStableUserPath ( ) : string
GetTimeStamp ( System.DateTime dt ) : string
GetUtcTimeStamp ( ) : string
GetWindowTextRaw ( IntPtr hwnd ) : string
IsLyncException ( SystemException ex ) : bool

Identify if a particular SystemException is one of the exceptions which may be thrown by the Lync Model API.

RtfFromText ( string text ) : string
TextFromRtf ( string rtf ) : string

Private Methods

Méthode Description
EnumWindows ( EnumWindowsProc enumProc, IntPtr lParam ) : bool
GetClassName ( IntPtr hWnd, StringBuilder lpClassName, int nMaxCount ) : int
GetWindowText ( IntPtr hWnd, StringBuilder lpString, int nMaxCount ) : int
SendMessage ( IntPtr hWnd, UInt32 Msg, IntPtr wParam, [ lParam ) : IntPtr

Method Details

GetActiveLyncConversationTitle() public static méthode

public static GetActiveLyncConversationTitle ( ) : string
Résultat string

GetActiveLyncConversationWnd() public static méthode

public static GetActiveLyncConversationWnd ( ) : IntPtr
Résultat System.IntPtr

GetArchivePath() public static méthode

public static GetArchivePath ( string subdirectory = "" ) : string
subdirectory string
Résultat string

GetConfigPath() public static méthode

public static GetConfigPath ( ) : string
Résultat string

GetLocalTimeStamp() public static méthode

public static GetLocalTimeStamp ( ) : string
Résultat string

GetSnipPath() public static méthode

public static GetSnipPath ( ) : string
Résultat string

GetStableUserPath() public static méthode

public static GetStableUserPath ( ) : string
Résultat string

GetTimeStamp() public static méthode

public static GetTimeStamp ( System.DateTime dt ) : string
dt System.DateTime
Résultat string

GetUtcTimeStamp() public static méthode

public static GetUtcTimeStamp ( ) : string
Résultat string

GetWindowTextRaw() public static méthode

public static GetWindowTextRaw ( IntPtr hwnd ) : string
hwnd System.IntPtr
Résultat string

IsLyncException() public static méthode

Identify if a particular SystemException is one of the exceptions which may be thrown by the Lync Model API.
public static IsLyncException ( SystemException ex ) : bool
ex System.SystemException
Résultat bool

RtfFromText() public static méthode

public static RtfFromText ( string text ) : string
text string
Résultat string

TextFromRtf() public static méthode

public static TextFromRtf ( string rtf ) : string
rtf string
Résultat string