コード例 #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();
 }