Пример #1
0
 /// <summary>
 /// Gets the instance of the Class.s
 /// </summary>
 /// <returns></returns>
 public static ChatEvents GetInstance()
 {
     if (currentObject == null)
     {
         currentObject = new ChatEvents();
     }
     return(currentObject);
 }
Пример #2
0
 /// <summary>
 /// Constructor of the Class ChatSessionEnded
 /// </summary>
 private ChatSessionEnded()
 {
     this.logger     = Log.GenInstance();
     this.chatEvents = ChatEvents.GetInstance();
 }
Пример #3
0
 private InboundChatInvite()
 {
     this.logger     = Log.GenInstance();
     this.chatEvents = ChatEvents.GetInstance();
 }