C# Класс Smrf.SocialNetworkLib.EmailNetworkAnalyzer

Analyzes a user's email social network.
Use one of the AnalyzeEmailNetwork() overloads to synchronously analyze a user's email social network, or use to do it asynchronously.
Наследование: Object
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_oBackgroundWorker System.ComponentModel.BackgroundWorker

Private Properties

Свойство Тип Описание
AssertValid void

Открытые методы

Метод Описание
AnalyzeEmailNetwork ( ) : Smrf.SocialNetworkLib.EmailParticipantPair[]
AnalyzeEmailNetwork ( EmailParticipantCriteria participantsCriteria, Nullable startTime, Nullable endTime, String subjectText, String bodyText, String folder, Nullable minimumSize, Nullable maximumSize, Nullable attachmentFilter, Nullable hasCc, Nullable hasBcc, Nullable isReplyFromParticipant1, System.Boolean useCcForEdgeWeights, System.Boolean useBccForEdgeWeights ) : Smrf.SocialNetworkLib.EmailParticipantPair[]
AnalyzeEmailNetworkAsync ( EmailParticipantCriteria participantsCriteria, Nullable startTime, Nullable endTime, String subjectText, String bodyText, String folder, Nullable minimumSize, Nullable maximumSize, Nullable attachmentFilter, Nullable hasCc, Nullable hasBcc, Nullable isReplyFromParticipant1, System.Boolean useCcForEdgeWeights, System.Boolean useBccForEdgeWeights ) : void
CancelAsync ( ) : void
EmailNetworkAnalyzer ( ) : System

Initializes a new instance of the EmailNetworkAnalyzer class.

Защищенные методы

Метод Описание
AnalyzeEmailNetworkInternal ( EmailParticipantCriteria participantsCriteria, Nullable startTime, Nullable endTime, String subjectText, String bodyText, String folder, Nullable minimumSize, Nullable maximumSize, Nullable attachmentFilter, Nullable hasCc, Nullable hasBcc, Nullable isReplyFromParticipant1, System.Boolean useCcForEdgeWeights, System.Boolean useBccForEdgeWeights, BackgroundWorker backgroundWorker, DoWorkEventArgs doWorkEventArgs ) : Smrf.SocialNetworkLib.EmailParticipantPair[]
AnalyzeEmailNetworkInternal ( System.Data.OleDb.OleDbDataReader oDataReader, System.Boolean bUseCcForEdgeWeights, System.Boolean bUseBccForEdgeWeights, BackgroundWorker oBackgroundWorker, DoWorkEventArgs oDoWorkEventArgs ) : Smrf.SocialNetworkLib.EmailParticipantPair[]
AnalyzeOneEmail ( Object oFromField, Object oToField, Object oCcField, Object oBccField, System.Boolean bUseCcForEdgeWeights, System.Boolean bUseBccForEdgeWeights, Int32>.Dictionary oAggregatedDictionary ) : void
AnalyzeOneEmailField ( String sFrom, Object oField, Int32>.Dictionary oPerEmailDictionary, Int32>.Dictionary oAggregatedDictionary ) : void
AppendParticipantClauseToQuery ( String sEscapedParticipant, IncludedIn eIncludedIn, IncludedIn eFlagToCheck, StringBuilder oStringBuilder, System.Boolean &bParticipantClauseAppended ) : void
BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
BackgroundWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
CheckAnalyzeMethodArgument ( String sArgument, String sParameterName ) : void
CheckAnalyzeMethodArguments ( EmailParticipantCriteria participantsCriteria, Nullable startTime, Nullable endTime, String subjectText, String bodyText, String folder, Nullable minimumSize, Nullable maximumSize, Nullable attachmentFilter, Nullable isReplyFromParticipant1 ) : void
CreateQuery ( EmailParticipantCriteria participantsCriteria, Nullable startTime, Nullable endTime, String subjectText, String bodyText, String folder, Nullable minimumSize, Nullable maximumSize, Nullable attachmentFilter, Nullable hasCc, Nullable hasBcc, Nullable isReplyFromParticipant1 ) : String
EscapeStringForContains ( String sString ) : String
EscapeStringForEquals ( String sString ) : String
FormatTime ( System.DateTime oTime ) : String
GetDataReader ( String sQuery ) : System.Data.OleDb.OleDbDataReader
KeyToParticipants ( String sKey, String &sParticipant1, String &sParticipant2 ) : void
ParticipantsToKey ( String sParticipant1, String sParticipant2 ) : String

Приватные методы

Метод Описание
AssertValid ( ) : void

Описание методов

AnalyzeEmailNetwork() публичный Метод

public AnalyzeEmailNetwork ( ) : Smrf.SocialNetworkLib.EmailParticipantPair[]
Результат Smrf.SocialNetworkLib.EmailParticipantPair[]

AnalyzeEmailNetwork() публичный Метод

public AnalyzeEmailNetwork ( EmailParticipantCriteria participantsCriteria, Nullable startTime, Nullable endTime, String subjectText, String bodyText, String folder, Nullable minimumSize, Nullable maximumSize, Nullable attachmentFilter, Nullable hasCc, Nullable hasBcc, Nullable isReplyFromParticipant1, System.Boolean useCcForEdgeWeights, System.Boolean useBccForEdgeWeights ) : Smrf.SocialNetworkLib.EmailParticipantPair[]
participantsCriteria EmailParticipantCriteria
startTime Nullable
endTime Nullable
subjectText String
bodyText String
folder String
minimumSize Nullable
maximumSize Nullable
attachmentFilter Nullable
hasCc Nullable
hasBcc Nullable
isReplyFromParticipant1 Nullable
useCcForEdgeWeights System.Boolean
useBccForEdgeWeights System.Boolean
Результат Smrf.SocialNetworkLib.EmailParticipantPair[]

AnalyzeEmailNetworkAsync() публичный Метод

public AnalyzeEmailNetworkAsync ( EmailParticipantCriteria participantsCriteria, Nullable startTime, Nullable endTime, String subjectText, String bodyText, String folder, Nullable minimumSize, Nullable maximumSize, Nullable attachmentFilter, Nullable hasCc, Nullable hasBcc, Nullable isReplyFromParticipant1, System.Boolean useCcForEdgeWeights, System.Boolean useBccForEdgeWeights ) : void
participantsCriteria EmailParticipantCriteria
startTime Nullable
endTime Nullable
subjectText String
bodyText String
folder String
minimumSize Nullable
maximumSize Nullable
attachmentFilter Nullable
hasCc Nullable
hasBcc Nullable
isReplyFromParticipant1 Nullable
useCcForEdgeWeights System.Boolean
useBccForEdgeWeights System.Boolean
Результат void

AnalyzeEmailNetworkInternal() защищенный Метод

protected AnalyzeEmailNetworkInternal ( EmailParticipantCriteria participantsCriteria, Nullable startTime, Nullable endTime, String subjectText, String bodyText, String folder, Nullable minimumSize, Nullable maximumSize, Nullable attachmentFilter, Nullable hasCc, Nullable hasBcc, Nullable isReplyFromParticipant1, System.Boolean useCcForEdgeWeights, System.Boolean useBccForEdgeWeights, BackgroundWorker backgroundWorker, DoWorkEventArgs doWorkEventArgs ) : Smrf.SocialNetworkLib.EmailParticipantPair[]
participantsCriteria EmailParticipantCriteria
startTime Nullable
endTime Nullable
subjectText String
bodyText String
folder String
minimumSize Nullable
maximumSize Nullable
attachmentFilter Nullable
hasCc Nullable
hasBcc Nullable
isReplyFromParticipant1 Nullable
useCcForEdgeWeights System.Boolean
useBccForEdgeWeights System.Boolean
backgroundWorker System.ComponentModel.BackgroundWorker
doWorkEventArgs System.ComponentModel.DoWorkEventArgs
Результат Smrf.SocialNetworkLib.EmailParticipantPair[]

AnalyzeEmailNetworkInternal() защищенный Метод

protected AnalyzeEmailNetworkInternal ( System.Data.OleDb.OleDbDataReader oDataReader, System.Boolean bUseCcForEdgeWeights, System.Boolean bUseBccForEdgeWeights, BackgroundWorker oBackgroundWorker, DoWorkEventArgs oDoWorkEventArgs ) : Smrf.SocialNetworkLib.EmailParticipantPair[]
oDataReader System.Data.OleDb.OleDbDataReader
bUseCcForEdgeWeights System.Boolean
bUseBccForEdgeWeights System.Boolean
oBackgroundWorker System.ComponentModel.BackgroundWorker
oDoWorkEventArgs System.ComponentModel.DoWorkEventArgs
Результат Smrf.SocialNetworkLib.EmailParticipantPair[]

AnalyzeOneEmail() защищенный Метод

protected AnalyzeOneEmail ( Object oFromField, Object oToField, Object oCcField, Object oBccField, System.Boolean bUseCcForEdgeWeights, System.Boolean bUseBccForEdgeWeights, Int32>.Dictionary oAggregatedDictionary ) : void
oFromField Object
oToField Object
oCcField Object
oBccField Object
bUseCcForEdgeWeights System.Boolean
bUseBccForEdgeWeights System.Boolean
oAggregatedDictionary Int32>.Dictionary
Результат void

AnalyzeOneEmailField() защищенный Метод

protected AnalyzeOneEmailField ( String sFrom, Object oField, Int32>.Dictionary oPerEmailDictionary, Int32>.Dictionary oAggregatedDictionary ) : void
sFrom String
oField Object
oPerEmailDictionary Int32>.Dictionary
oAggregatedDictionary Int32>.Dictionary
Результат void

AppendParticipantClauseToQuery() защищенный Метод

protected AppendParticipantClauseToQuery ( String sEscapedParticipant, IncludedIn eIncludedIn, IncludedIn eFlagToCheck, StringBuilder oStringBuilder, System.Boolean &bParticipantClauseAppended ) : void
sEscapedParticipant String
eIncludedIn IncludedIn
eFlagToCheck IncludedIn
oStringBuilder StringBuilder
bParticipantClauseAppended System.Boolean
Результат void

BackgroundWorker_DoWork() защищенный Метод

protected BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e System.ComponentModel.DoWorkEventArgs
Результат void

BackgroundWorker_RunWorkerCompleted() защищенный Метод

protected BackgroundWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
sender object
e System.ComponentModel.RunWorkerCompletedEventArgs
Результат void

CancelAsync() публичный Метод

public CancelAsync ( ) : void
Результат void

CheckAnalyzeMethodArgument() защищенный Метод

protected CheckAnalyzeMethodArgument ( String sArgument, String sParameterName ) : void
sArgument String
sParameterName String
Результат void

CheckAnalyzeMethodArguments() защищенный Метод

protected CheckAnalyzeMethodArguments ( EmailParticipantCriteria participantsCriteria, Nullable startTime, Nullable endTime, String subjectText, String bodyText, String folder, Nullable minimumSize, Nullable maximumSize, Nullable attachmentFilter, Nullable isReplyFromParticipant1 ) : void
participantsCriteria EmailParticipantCriteria
startTime Nullable
endTime Nullable
subjectText String
bodyText String
folder String
minimumSize Nullable
maximumSize Nullable
attachmentFilter Nullable
isReplyFromParticipant1 Nullable
Результат void

CreateQuery() защищенный Метод

protected CreateQuery ( EmailParticipantCriteria participantsCriteria, Nullable startTime, Nullable endTime, String subjectText, String bodyText, String folder, Nullable minimumSize, Nullable maximumSize, Nullable attachmentFilter, Nullable hasCc, Nullable hasBcc, Nullable isReplyFromParticipant1 ) : String
participantsCriteria EmailParticipantCriteria
startTime Nullable
endTime Nullable
subjectText String
bodyText String
folder String
minimumSize Nullable
maximumSize Nullable
attachmentFilter Nullable
hasCc Nullable
hasBcc Nullable
isReplyFromParticipant1 Nullable
Результат String

EmailNetworkAnalyzer() публичный Метод

Initializes a new instance of the EmailNetworkAnalyzer class.
public EmailNetworkAnalyzer ( ) : System
Результат System

EscapeStringForContains() защищенный Метод

protected EscapeStringForContains ( String sString ) : String
sString String
Результат String

EscapeStringForEquals() защищенный Метод

protected EscapeStringForEquals ( String sString ) : String
sString String
Результат String

FormatTime() защищенный Метод

protected FormatTime ( System.DateTime oTime ) : String
oTime System.DateTime
Результат String

GetDataReader() защищенный Метод

protected GetDataReader ( String sQuery ) : System.Data.OleDb.OleDbDataReader
sQuery String
Результат System.Data.OleDb.OleDbDataReader

KeyToParticipants() защищенный Метод

protected KeyToParticipants ( String sKey, String &sParticipant1, String &sParticipant2 ) : void
sKey String
sParticipant1 String
sParticipant2 String
Результат void

ParticipantsToKey() защищенный Метод

protected ParticipantsToKey ( String sParticipant1, String sParticipant2 ) : String
sParticipant1 String
sParticipant2 String
Результат String

Описание свойств

m_oBackgroundWorker защищенное свойство

protected BackgroundWorker,System.ComponentModel m_oBackgroundWorker
Результат System.ComponentModel.BackgroundWorker