C# Class BusinessCats.Util

Datei anzeigen Open project: adzm/BusinessCats

Public Methods

Method 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

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

public static GetActiveLyncConversationTitle ( ) : string
return string

GetActiveLyncConversationWnd() public static method

public static GetActiveLyncConversationWnd ( ) : IntPtr
return System.IntPtr

GetArchivePath() public static method

public static GetArchivePath ( string subdirectory = "" ) : string
subdirectory string
return string

GetConfigPath() public static method

public static GetConfigPath ( ) : string
return string

GetLocalTimeStamp() public static method

public static GetLocalTimeStamp ( ) : string
return string

GetSnipPath() public static method

public static GetSnipPath ( ) : string
return string

GetStableUserPath() public static method

public static GetStableUserPath ( ) : string
return string

GetTimeStamp() public static method

public static GetTimeStamp ( System.DateTime dt ) : string
dt System.DateTime
return string

GetUtcTimeStamp() public static method

public static GetUtcTimeStamp ( ) : string
return string

GetWindowTextRaw() public static method

public static GetWindowTextRaw ( IntPtr hwnd ) : string
hwnd System.IntPtr
return string

IsLyncException() public static method

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
return bool

RtfFromText() public static method

public static RtfFromText ( string text ) : string
text string
return string

TextFromRtf() public static method

public static TextFromRtf ( string rtf ) : string
rtf string
return string