Forex_Strategy_Builder.Enter_Once.SetDescription C# (CSharp) Метод

SetDescription() публичный Метод

Sets the indicator logic description
public SetDescription ( SlotTypes slotType ) : void
slotType SlotTypes
Результат void
        public override void SetDescription(SlotTypes slotType)
        {
            if (IndParam.ListParam[0].Text == "Enter no more than once a bar")
            {
                EntryFilterLongDescription  = "this is the first entry during the bar";
                EntryFilterShortDescription = "this is the first entry during the bar";
            }
            else if (IndParam.ListParam[0].Text == "Enter no more than once a day")
            {
                EntryFilterLongDescription  = "this is the first entry during the day";
                EntryFilterShortDescription = "this is the first entry during the day";
            }
            else if (IndParam.ListParam[0].Text == "Enter no more than once a week")
            {
                EntryFilterLongDescription  = "this is the first entry during the week";
                EntryFilterShortDescription = "this is the first entry during the week";
            }
            else if (IndParam.ListParam[0].Text == "Enter no more than once a month")
            {
                EntryFilterLongDescription  = "this is the first entry during the month";
                EntryFilterShortDescription = "this is the first entry during the month";
            }

            return;
        }