/// <summary> /// Constructor /// </summary> private SFDCContact() { this.logger = Log.GenInstance(); this.sfdcUtility = SFDCUtility.GetInstance(); this.contactVoiceOptions = Settings.ContactVoiceOptions; this.contactChatOptions = Settings.ContactChatOptions; this.ContactLogConfig = (Settings.VoiceActivityLogCollection.ContainsKey("contact")) ? Settings.VoiceActivityLogCollection["contact"] : null; ContactChatLogConfig = (Settings.ChatActivityLogCollection.ContainsKey("contact")) ? Settings.ChatActivityLogCollection["contact"] : null; this.ContactEmailRecordConfig = (Settings.EmailNewRecordCollection.ContainsKey("contact")) ? Settings.EmailNewRecordCollection["contact"] : null; this.ContactVoiceRecordConfig = (Settings.VoiceNewRecordCollection.ContainsKey("contact")) ? Settings.VoiceNewRecordCollection["contact"] : null; this.ContactChatRecordConfig = (Settings.ChatNewRecordCollection.ContainsKey("contact")) ? Settings.ChatNewRecordCollection["contact"] : null; this.ContactEmailLogConfig = (Settings.EmailActivityLogCollection.ContainsKey("contact")) ? Settings.EmailActivityLogCollection["contact"] : null; this.contactEmailOptions = Settings.ContactEmailOptions; this.sfdcUtilityHelper = SFDCUtiltiyHelper.GetInstance(); }
/// <summary> /// Constructor /// </summary> private SFDCCase() { this._logger = Log.GenInstance(); this._caseVoiceOptions = Settings.CaseVoiceOptions; this._caseChatOptions = Settings.CaseChatOptions; this._caseLogConfig = (Settings.VoiceActivityLogCollection.ContainsKey("case")) ? Settings.VoiceActivityLogCollection["case"] : null; this._caseChatLogOptions = (Settings.ChatActivityLogCollection.ContainsKey("case")) ? Settings.ChatActivityLogCollection["case"] : null; this._caseEmailRecordConfig = (Settings.EmailNewRecordCollection.ContainsKey("case")) ? Settings.EmailNewRecordCollection["case"] : null; this._caseVoiceRecordConfig = (Settings.VoiceNewRecordCollection.ContainsKey("case")) ? Settings.VoiceNewRecordCollection["case"] : null; this._caseChatRecordConfig = (Settings.ChatNewRecordCollection.ContainsKey("case")) ? Settings.ChatNewRecordCollection["case"] : null; this._sfdcUtility = SFDCUtility.GetInstance(); this._caseEmailOptions = Settings.CaseEmailOptions; this._caseEmailLogOptions = (Settings.EmailActivityLogCollection.ContainsKey("case")) ? Settings.EmailActivityLogCollection["case"] : null; this._sfdcUtilityHelper = SFDCUtiltiyHelper.GetInstance(); }
private SFDCOpportunity() { this._logger = Log.GenInstance(); this._opportunityVoiceOptions = Settings.OpportunityVoiceOptions; this._opportunityChatOptions = Settings.OpportunityChatOptions; this._opportunityLogConfig = (Settings.VoiceActivityLogCollection.ContainsKey("opportunity")) ? Settings.VoiceActivityLogCollection["opportunity"] : null; this._opportunityChatLogConfig = (Settings.ChatActivityLogCollection.ContainsKey("opportunity")) ? Settings.ChatActivityLogCollection["opportunity"] : null; this._opportunityEmailRecordConfig = (Settings.EmailNewRecordCollection.ContainsKey("opportunity")) ? Settings.EmailNewRecordCollection["opportunity"] : null; this._opportunityVoiceRecordConfig = (Settings.VoiceNewRecordCollection.ContainsKey("opportunity")) ? Settings.VoiceNewRecordCollection["opportunity"] : null; this._opportunityChatRecordConfig = (Settings.ChatNewRecordCollection.ContainsKey("opportunity")) ? Settings.ChatNewRecordCollection["opportunity"] : null; this._sfdcUtility = SFDCUtility.GetInstance(); this._sfdcUtilityHelper = SFDCUtiltiyHelper.GetInstance(); this._opportunityEmailLogConfig = (Settings.EmailActivityLogCollection.ContainsKey("opportunity")) ? Settings.EmailActivityLogCollection["opportunity"] : null; this._opportunityEmailOptions = Settings.OpportunityEmailOptions; }
private SFDCCustomObject() { this.logger = Log.GenInstance(); this.customvoiceOptions = Settings.CustomObjectVoiceOptions; this.customchatOptions = Settings.CustomObjectChatOptions; this.CustomVoiceLogConfigs = Settings.VoiceActivityLogCollection; this.CustomVoiceRecordConfigs = Settings.VoiceNewRecordCollection; this.CustomEmailRecordConfigs = Settings.EmailNewRecordCollection; this.CustomChatRecordConfigs = Settings.ChatNewRecordCollection; this.CustomChatLogConfigs = Settings.ChatActivityLogCollection; this.sfdcUtility = SFDCUtility.GetInstance(); this.CustomEmailLogConfigs = Settings.EmailActivityLogCollection; this.customemailOptions = Settings.CustomObjectEmailOptions; this.sfdcUtilityHelper = SFDCUtiltiyHelper.GetInstance(); }
/// <summary> /// Constructor /// </summary> private SFDCAccount() { this._logger = Log.GenInstance(); this._accountVoiceOptions = Settings.AccountVoiceOptions; this._accountChatOptions = Settings.AccountChatOptions; _accountLogConfig = (Settings.VoiceActivityLogCollection.ContainsKey("account")) ? Settings.VoiceActivityLogCollection["account"] : null; _accountChatLogConfig = (Settings.ChatActivityLogCollection.ContainsKey("account")) ? Settings.ChatActivityLogCollection["account"] : null; this._accountEmailRecordConfig = (Settings.EmailNewRecordCollection.ContainsKey("account")) ? Settings.EmailNewRecordCollection["account"] : null; this._accountVoiceRecordConfig = (Settings.VoiceNewRecordCollection.ContainsKey("account")) ? Settings.VoiceNewRecordCollection["account"] : null; this._accountChatRecordConfig = (Settings.ChatNewRecordCollection.ContainsKey("account")) ? Settings.ChatNewRecordCollection["account"] : null; this._sfdcUtility = SFDCUtility.GetInstance(); this._accountEmailOptions = Settings.AccountEmailOptions; this._accountEmailLogConfig = Settings.EmailActivityLogCollection.ContainsKey("account") ? Settings.EmailActivityLogCollection["account"] : null; this._sfdcUtilityHelper = SFDCUtiltiyHelper.GetInstance(); }
private SFDCLead() { this.logger = Log.GenInstance(); this.sfdcUtility = SFDCUtility.GetInstance(); this.leadVoiceOptions = Settings.LeadVoiceOptions; this.leadChatOptions = Settings.LeadChatOptions; this.LeadLogConfig = (Settings.VoiceActivityLogCollection.ContainsKey("lead")) ? Settings.VoiceActivityLogCollection["lead"] : null; this.LeadChatLogConfig = (Settings.ChatActivityLogCollection.ContainsKey("lead")) ? Settings.ChatActivityLogCollection["lead"] : null; this.LeadEmailRecordConfig = (Settings.EmailNewRecordCollection.ContainsKey("lead")) ? Settings.EmailNewRecordCollection["lead"] : null; this.LeadVoiceRecordConfig = (Settings.VoiceNewRecordCollection.ContainsKey("lead")) ? Settings.VoiceNewRecordCollection["lead"] : null; this.LeadChatRecordConfig = (Settings.ChatNewRecordCollection.ContainsKey("lead")) ? Settings.ChatNewRecordCollection["lead"] : null; this.LeadEmailLogConfig = (Settings.EmailActivityLogCollection.ContainsKey("lead")) ? Settings.EmailActivityLogCollection["lead"] : null; this.LeadEmailWorkbinConfig = (Settings.EmailActivityLogCollection.ContainsKey("workbin")) ? Settings.EmailActivityLogCollection["workbin"] : null; this.leadEmailOptions = Settings.LeadEmailOptions; this.sfdcUtilityHelper = SFDCUtiltiyHelper.GetInstance(); }
/// <summary> /// Creates an Instance of the Class /// </summary> public ChatManager() { this._logger = Log.GenInstance(); this._leadOptions = Settings.LeadChatOptions; this._contactOptions = Settings.ContactChatOptions; this._accountOptions = Settings.AccountChatOptions; this._caseOptions = Settings.CaseChatOptions; this._opportunityOptions = Settings.OpportunityChatOptions; this._userActivityLog = (Settings.ChatActivityLogCollection.ContainsKey("useractivity")) ? Settings.ChatActivityLogCollection["useractivity"] : null; this._sFDCUtility = SFDCUtility.GetInstance(); this._activityLogs = Settings.ChatActivityLogCollection; this._customObjectOptions = Settings.CustomObjectChatOptions; this._userActivityOptions = Settings.UserActivityChatOptions; this._popupPages = Settings.SFDCOptions.SFDCPopupPages; this._generalOptions = Settings.SFDCOptions; this._sfdcUtilityHelper = SFDCUtiltiyHelper.GetInstance(); }