Exemple #1
0
 public static ChannelInfoHolder getInstance()
 {
     if (ChannelInfoHolder._instance == null)
     {
         ChannelInfoHolder._instance = new ChannelInfoHolder();
     }
     return(ChannelInfoHolder._instance);
 }
Exemple #2
0
        public static ChannelInfoHolder getInstance()
        {
            bool flag = ChannelInfoHolder._instance == null;

            if (flag)
            {
                ChannelInfoHolder._instance = new ChannelInfoHolder();
            }
            return(ChannelInfoHolder._instance);
        }