C# Class BusinessCats.SeriousBusinessCat

Mostra file Open project: adzm/BusinessCats Class Usage Examples

Public Properties

Property Type Description
whisperCat WhisperCat

Protected Properties

Property Type Description
_main MainWindow

Public Methods

Method Description
AddConversation ( string subject = "" ) : void
Blp ( ) : void
DataFromClipboard ( ) : string
DataFromFile ( string filename ) : string
DataFromImage ( System image, bool useMaxWidth = true ) : string
DataFromString ( string data ) : string
DoSendImage ( string data ) : void
DoSendMessage ( Conversation conversation, string data, InstantMessageContentType type ) : void
FindConversation ( Conversation conv ) : LyncConversation
FindConversationFromTitle ( string title ) : LyncConversation
Paste ( ) : void
RefreshConversations ( bool selectActive = false ) : void
SeriousBusinessCat ( MainWindow main ) : Microsoft.Lync.Model
Snip ( ) : void
SnipAndSend ( ) : void
StartWhispering ( ) : void
TrackConversation ( Conversation conv ) : LyncConversation
UpdateConversation ( LyncConversation conv ) : void

Protected Methods

Method Description
DoRefreshConversations ( bool selectActive = false ) : void
DoSendMessageAsync ( Conversation conversation, string data, InstantMessageContentType type ) : System.Threading.Tasks.Task
DoSendText ( string data, InstantMessageContentType type ) : void
ImageToData ( System image ) : string
ScaleToWidth ( System image, int width ) : string
imModality_InstantMessageReceived ( object sender, MessageSentEventArgs e ) : void

Private Methods

Method Description
Conv_ParticipantAdded ( object sender, ParticipantCollectionChangedEventArgs e ) : void
Conv_ParticipantRemoved ( object sender, ParticipantCollectionChangedEventArgs e ) : void
ConversationManager_ConversationAdded ( object sender, ConversationManagerEventArgs e ) : void
ConversationManager_ConversationRemoved ( object sender, ConversationManagerEventArgs e ) : void
GetActiveConversation ( ) : LyncConversation
SaveSnip ( System bmp ) : void

Method Details

AddConversation() public method

public AddConversation ( string subject = "" ) : void
subject string
return void

Blp() public method

public Blp ( ) : void
return void

DataFromClipboard() public method

public DataFromClipboard ( ) : string
return string

DataFromFile() public method

public DataFromFile ( string filename ) : string
filename string
return string

DataFromImage() public method

public DataFromImage ( System image, bool useMaxWidth = true ) : string
image System
useMaxWidth bool
return string

DataFromString() public method

public DataFromString ( string data ) : string
data string
return string

DoRefreshConversations() protected method

protected DoRefreshConversations ( bool selectActive = false ) : void
selectActive bool
return void

DoSendImage() public method

public DoSendImage ( string data ) : void
data string
return void

DoSendMessage() public method

public DoSendMessage ( Conversation conversation, string data, InstantMessageContentType type ) : void
conversation Conversation
data string
type InstantMessageContentType
return void

DoSendMessageAsync() protected method

protected DoSendMessageAsync ( Conversation conversation, string data, InstantMessageContentType type ) : System.Threading.Tasks.Task
conversation Conversation
data string
type InstantMessageContentType
return System.Threading.Tasks.Task

DoSendText() protected method

protected DoSendText ( string data, InstantMessageContentType type ) : void
data string
type InstantMessageContentType
return void

FindConversation() public method

public FindConversation ( Conversation conv ) : LyncConversation
conv Conversation
return LyncConversation

FindConversationFromTitle() public method

public FindConversationFromTitle ( string title ) : LyncConversation
title string
return LyncConversation

ImageToData() protected method

protected ImageToData ( System image ) : string
image System
return string

Paste() public method

public Paste ( ) : void
return void

RefreshConversations() public method

public RefreshConversations ( bool selectActive = false ) : void
selectActive bool
return void

ScaleToWidth() protected method

protected ScaleToWidth ( System image, int width ) : string
image System
width int
return string

SeriousBusinessCat() public method

public SeriousBusinessCat ( MainWindow main ) : Microsoft.Lync.Model
main MainWindow
return Microsoft.Lync.Model

Snip() public method

public Snip ( ) : void
return void

SnipAndSend() public method

public SnipAndSend ( ) : void
return void

StartWhispering() public method

public StartWhispering ( ) : void
return void

TrackConversation() public method

public TrackConversation ( Conversation conv ) : LyncConversation
conv Conversation
return LyncConversation

UpdateConversation() public method

public UpdateConversation ( LyncConversation conv ) : void
conv LyncConversation
return void

imModality_InstantMessageReceived() protected method

protected imModality_InstantMessageReceived ( object sender, MessageSentEventArgs e ) : void
sender object
e MessageSentEventArgs
return void

Property Details

_main protected_oe property

protected MainWindow _main
return MainWindow

whisperCat public_oe property

public WhisperCat whisperCat
return WhisperCat