Exemplo n.º 1
0
        private ThingComp CurrentChannel()
        {
            if (curChannel != null)
            {
                return(curChannel);
            }

            curChannel = Props?.Channel(channel, parent);

            if (curChannel == null)
            {
                Log.ErrorOnce("No channel", 1700707);
                return(null);
            }
            else
            {
                return(curChannel);
            }
        }