Exemple #1
0
        protected override string GetParameterTitle()
        {
            string output = null;

            if (string.IsNullOrEmpty(title))
            {
                output = "Antenna";
                if (state == ParameterState.Complete)
                {
                    output += ": " + ParameterDelegate <IAntenna> .GetDelegateText(this);
                }
            }
            else
            {
                output = title;
            }
            return(output);
        }
        protected override string GetParameterTitle()
        {
            string output = null;

            if (string.IsNullOrEmpty(title))
            {
                if (state == ParameterState.Complete || ParameterCount == 1)
                {
                    if (ParameterCount == 1)
                    {
                        hideChildren = true;
                    }

                    output = ParameterDelegate <Vessel> .GetDelegateText(this);
                }
            }
            else
            {
                output = title;
            }
            return(output);
        }